/**
  * @description: 矢量地图
  * @author: hj
  * @update: hj(2020-01-14)
  */

import React, { Component } from 'react';
import styles from './index.module.scss';
import { getMediaById } from '@/service/Api/Chart';
import { observer,inject,Provider } from 'mobx-react';
// import { select } from 'd3';

 


const svgMap = [
    {
        name:"青羊区",
        path:"M1148.63,759.35c6.31,0.41,13.41,0,13.41,0s3.55,4.12,7.1,2.86s3.45-0.71,7.44,0c3.99,0.71,5.37,0,9.52,0  s4.14,0,4.14,0c0.06-0.2,0.45-0.36,1.04-0.49c-1.09-1.74-2.11-3.63-1.95-4.36c0.03-0.13-0.08-0.37-0.28-0.69  c-2.29,1.01-9.95-4.07-11.03-3.7c-1.23,0.43,0.31,0.8-2.45,3.83s-2.45-1.19-7.96-3.83c-5.51-2.64-6.13-4.78-9.19-6.92  c-3.06-2.14-1.53-4.29-3.06-0.31s-2.76,5.51-4.29,3.37c-1.53-2.14-2.83-7.75-2.83-7.75l0,0h-1.75c-4,0-8,0-8,0l-7,5  c0,0-0.01,0-0.02,0c-0.31,0.01-4.26,0.26-4.39,6.61c0,0.24,0,0.49,0,0.75c0.11,1.67,0.4,3.1,0.4,3.64l0,0l3,3c0,0,3,3,6,4  c0.18,0.06,0.36,0.15,0.55,0.26c0.13,0.08,0.27,0.18,0.41,0.29c0.05,0.04,0.11,0.07,0.16,0.12c0.18,0.15,0.37,0.32,0.55,0.5  c0.01,0.01,0.02,0.01,0.02,0.02c0.2,0.19,0.4,0.41,0.59,0.64c0,0,0,0,0,0C1141.05,762.94,1144.76,759.1,1148.63,759.35z",
        fill:"#022D50",
        text:{
            x:"970",
            y:"620"
        },
        point:{
            x:"965",
            y:"620"
        }
    },
    {
        name:"金牛区",
        path:"M1163.1,735.94c-0.37,0.25-1.26-0.02-3.11,0.35c-0.18,0.04-0.38,0.08-0.58,0.13c-0.61,0.15-1.31,0.37-2.12,0.69  c-0.54,0.21-1.12,0.47-1.75,0.78c-1.48,0.86-3.55,2.16-5.82,2.9c-0.39,0.17-0.85,0.34-1.47,0.57c0,0,1.3,5.61,2.83,7.75  c1.53,2.14,2.76,0.61,4.29-3.37s0-1.84,3.06,0.31c3.06,2.14,3.68,4.29,9.19,6.92c5.51,2.64,5.21,6.86,7.96,3.83s1.23-3.4,2.45-3.83  c1.07-0.37,8.74,4.71,11.03,3.7c0.32-0.14,0.54-0.4,0.61-0.82c0.61-3.37-3.68-6.43-4.59-14.49c-0.92-8.06,5.21-2.66,6.74-5.72  s6.13-3.98,8.27-3.78c0.1,0.01,0.2-0.01,0.31-0.04c0.02-0.01,0.04-0.01,0.05-0.02c0.1-0.04,0.2-0.09,0.29-0.17  c0.02-0.01,0.04-0.03,0.06-0.05c0.1-0.08,0.2-0.17,0.3-0.29c0,0,0.01-0.01,0.01-0.01c0.1-0.11,0.2-0.24,0.29-0.38  c0.02-0.02,0.03-0.05,0.05-0.07c0.1-0.14,0.19-0.3,0.28-0.46c0.02-0.03,0.04-0.07,0.06-0.1c0.09-0.17,0.19-0.35,0.28-0.54  c0.01-0.01,0.01-0.02,0.02-0.03c0.09-0.19,0.18-0.38,0.27-0.58c0.02-0.04,0.03-0.07,0.05-0.11c0.09-0.2,0.17-0.41,0.26-0.62  c0.02-0.04,0.03-0.08,0.05-0.13c0.08-0.22,0.17-0.43,0.25-0.65c0.01-0.02,0.02-0.04,0.02-0.06c0.08-0.21,0.15-0.42,0.22-0.63  c0.01-0.04,0.03-0.08,0.04-0.12c0.07-0.22,0.14-0.43,0.21-0.64c0.02-0.05,0.03-0.09,0.04-0.14c0.07-0.21,0.13-0.42,0.19-0.63  c0.01-0.02,0.01-0.04,0.02-0.07c0.06-0.2,0.12-0.39,0.17-0.58c0.01-0.03,0.02-0.06,0.03-0.09c0.05-0.19,0.11-0.37,0.15-0.55  c0.01-0.04,0.02-0.07,0.03-0.11c0.05-0.17,0.09-0.33,0.13-0.48c0.01-0.02,0.01-0.05,0.02-0.07c0.04-0.13,0.07-0.26,0.1-0.37  c0.12-0.45,0.18-0.72,0.18-0.72c0,0-0.01-0.01-0.01-0.01c-0.02-0.04-0.49-0.8-1.29-1.91c-1.93-2.44-5.17-6.07-8.61-7.87  c-0.43-0.19-0.85-0.38-1.27-0.57c-0.11-0.04-0.22-0.1-0.33-0.13c-3.72-1.24-7.05-3.24-9.53-3.88c-0.84,0.16-1.69-0.1-2.42,0  c-0.41,0.17-0.76,0.44-1.05,0.87c-0.54,0.8-0.85,2.11-1.01,3.61c-0.1,1.3-0.14,2.5-0.13,3.59c0.08,3.21,0.61,6.27,1.14,6.8  c0.19,0.19,0.31,0.7,0.35,1.41c0.03,0.25,0.05,0.52,0.05,0.84c0.01,0.96-0.13,2.25-0.52,3.97c-0.18,0.87-0.42,1.76-0.71,2.62  c-0.02,0.05-0.03,0.1-0.04,0.15c0,0-0.29,1.17-1.12,2.55c-0.56,1-1.22,1.86-2.01,2.45c-0.05,0.03-0.09,0.06-0.13,0.1  c-1.13,1.03-2.43,1.99-3.5,2.62c-0.51,0.3-0.97,0.52-1.34,0.64c-0.18,0.06-0.34,0.09-0.47,0.1c-0.27,0.01-0.64-0.02-1.05-0.09  c-0.52-0.01-1.01-0.13-1.5-0.37c-0.28-0.14-0.57-0.33-0.84-0.53c-0.49-0.31-0.95-0.7-1.33-1.2c0,0,0,0,0,0  c-0.59-0.62-1.08-1.24-1.41-1.68c-0.15-0.14-0.29-0.26-0.42-0.35C1163.76,736.01,1163.45,735.96,1163.1,735.94z",
        fill:"#022D50",
        text:{
            x:"980",
            y:"600"
        },
        point:{
            x:"1000",
            y:"610"
        }
    },
    {
        name:"成华区",
        path:"M1206.47,730.18c-0.04-0.08-0.09-0.16-0.13-0.24c-0.17-0.34-0.34-0.68-0.48-1.03  c-0.02-0.04-0.03-0.08-0.05-0.12c-0.13-0.32-0.24-0.64-0.35-0.95c-0.03-0.08-0.05-0.15-0.08-0.23c-0.11-0.34-0.2-0.67-0.29-0.99  c-0.02-0.06-0.03-0.11-0.04-0.17c-0.07-0.29-0.13-0.56-0.19-0.83c-0.01-0.06-0.02-0.12-0.04-0.18c-0.06-0.3-0.1-0.58-0.14-0.84  c-0.01-0.06-0.02-0.11-0.02-0.17c-0.03-0.23-0.06-0.45-0.08-0.65c0-0.03-0.01-0.07-0.01-0.1c-0.02-0.22-0.04-0.41-0.05-0.59  c0-0.01,0-0.03,0-0.04c-0.01-0.12-0.17-0.13-0.2-0.02c0,0.01-0.01,0.03-0.01,0.04c-0.03,0.11-0.06,0.24-0.1,0.37  c-0.01,0.02-0.01,0.04-0.02,0.07c-0.04,0.15-0.08,0.31-0.13,0.48c-0.01,0.04-0.02,0.07-0.03,0.11c-0.05,0.18-0.1,0.36-0.15,0.55  c-0.01,0.03-0.02,0.06-0.03,0.09c-0.05,0.19-0.11,0.38-0.17,0.58c-0.01,0.02-0.01,0.04-0.02,0.07c-0.06,0.21-0.13,0.42-0.19,0.63  c-0.01,0.05-0.03,0.09-0.04,0.14c-0.07,0.21-0.14,0.43-0.21,0.64c-0.01,0.04-0.03,0.08-0.04,0.12c-0.07,0.21-0.14,0.42-0.22,0.63  c-0.01,0.02-0.02,0.04-0.02,0.06c-0.08,0.22-0.16,0.44-0.25,0.65c-0.02,0.04-0.03,0.08-0.05,0.13c-0.08,0.21-0.17,0.42-0.26,0.62  c-0.02,0.04-0.03,0.07-0.05,0.11c-0.09,0.2-0.18,0.39-0.27,0.58c-0.01,0.01-0.01,0.02-0.02,0.03c-0.09,0.19-0.19,0.37-0.28,0.54  c-0.02,0.03-0.04,0.07-0.06,0.1c-0.09,0.16-0.19,0.32-0.28,0.46c-0.02,0.03-0.03,0.05-0.05,0.07c-0.1,0.14-0.19,0.27-0.29,0.38  c0,0-0.01,0.01-0.01,0.01c-0.1,0.11-0.2,0.21-0.3,0.29c-0.02,0.02-0.04,0.03-0.06,0.05c-0.1,0.07-0.2,0.13-0.29,0.17  c-0.02,0.01-0.04,0.01-0.05,0.02c-0.1,0.03-0.2,0.05-0.31,0.04c-2.14-0.2-6.74,0.71-8.27,3.78s-7.66-2.34-6.74,5.72  c0.92,8.06,5.21,11.12,4.59,14.49c-0.08,0.42-0.29,0.68-0.61,0.82c0.2,0.32,0.31,0.55,0.28,0.69c-0.16,0.74,0.86,2.63,1.95,4.36  c0.03,0.04,0.05,0.08,0.07,0.12l1.02,1.54c0,0.02,0.01,0.03,0.02,0.05c0.01,0.01,0.01,0.02,0.02,0.03c0.14,0.21,0.27,0.4,0.39,0.58  c0.01,0.02,0.03,0.04,0.04,0.06c0.12,0.17,0.23,0.32,0.32,0.46c0.02,0.03,0.04,0.06,0.06,0.08c0.09,0.12,0.16,0.23,0.23,0.32  c0.01,0.02,0.02,0.03,0.03,0.05c0.05,0.07,0.1,0.13,0.12,0.16c0,0,0,0,0,0.01c0.01,0.02,0.02,0.02,0.04,0.03  c0.06,0.02,0.13,0.06,0.19,0.08c0.06,0.03,0.12,0.05,0.19,0.08c0.07,0.04,0.15,0.09,0.22,0.14c0.07,0.04,0.13,0.08,0.2,0.13  c0.07,0.06,0.15,0.13,0.23,0.2c0.07,0.06,0.14,0.11,0.21,0.18c0.08,0.07,0.16,0.16,0.24,0.25c0.07,0.07,0.14,0.14,0.21,0.22  c0.08,0.09,0.16,0.19,0.24,0.28c0.07,0.09,0.15,0.17,0.22,0.27c0.08,0.1,0.16,0.21,0.24,0.31c0.08,0.1,0.16,0.2,0.23,0.31  c0.09,0.12,0.17,0.25,0.26,0.37c0.07,0.1,0.14,0.2,0.22,0.31c0.09,0.13,0.18,0.27,0.27,0.41c0.07,0.11,0.14,0.21,0.21,0.32  c0.09,0.14,0.18,0.28,0.26,0.43c0.07,0.11,0.14,0.22,0.21,0.34c0.1,0.16,0.19,0.33,0.29,0.49c0.06,0.1,0.12,0.2,0.18,0.3  c0.11,0.18,0.21,0.37,0.31,0.56c0.05,0.09,0.1,0.17,0.15,0.26c0.1,0.19,0.2,0.37,0.3,0.56c0.05,0.09,0.1,0.18,0.14,0.27  c0.09,0.16,0.17,0.32,0.25,0.48c0.06,0.11,0.12,0.23,0.18,0.34c0.08,0.16,0.16,0.31,0.24,0.47c0.06,0.11,0.11,0.22,0.17,0.33  c0.27,0.53,0.52,1.05,0.75,1.54c0.11,0.24,0.26,0.47,0.42,0.69c0.06,0.08,0.13,0.15,0.19,0.22c0.12,0.14,0.24,0.29,0.38,0.42  c0.09,0.08,0.18,0.16,0.28,0.24c0.14,0.12,0.27,0.24,0.42,0.35c0.11,0.08,0.22,0.16,0.34,0.24c0.15,0.11,0.3,0.21,0.46,0.31  c0.12,0.08,0.26,0.15,0.38,0.23c0.16,0.09,0.32,0.19,0.49,0.28c0.14,0.07,0.28,0.14,0.42,0.21c0.17,0.08,0.34,0.17,0.52,0.25  c0.14,0.07,0.29,0.13,0.43,0.19c0.18,0.08,0.35,0.15,0.53,0.23c0.15,0.06,0.29,0.12,0.44,0.17c0.18,0.07,0.36,0.14,0.54,0.2  c0.14,0.05,0.29,0.1,0.43,0.15c0.18,0.06,0.35,0.12,0.53,0.18c0.14,0.05,0.28,0.09,0.42,0.13c0.17,0.05,0.34,0.11,0.51,0.16  c0.13,0.04,0.26,0.08,0.39,0.11c0.16,0.05,0.32,0.09,0.48,0.13c0.12,0.03,0.23,0.06,0.34,0.09c0.15,0.04,0.3,0.08,0.44,0.11  c0.1,0.02,0.2,0.05,0.29,0.07c0.14,0.03,0.27,0.06,0.39,0.09c0.07,0.02,0.15,0.04,0.21,0.05c0.13,0.03,0.23,0.05,0.34,0.07  c0.04,0.01,0.09,0.02,0.13,0.03c0.13,0.03,0.23,0.05,0.3,0.06c0.06,0.01,0.1-0.03,0.11-0.09c0.01-0.76,0.09-5.83,0.27-10.9v-4.98  v-3.8v-0.01c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0-0.01,0-0.01c0-0.01,0-0.02,0.01-0.05c0-0.02,0.01-0.04,0.02-0.07  c0.01-0.03,0.01-0.06,0.03-0.1c0.01-0.03,0.02-0.07,0.03-0.11c0.01-0.04,0.02-0.08,0.04-0.13c0.02-0.05,0.04-0.1,0.05-0.15  c0.02-0.05,0.04-0.1,0.06-0.16c0.02-0.06,0.05-0.12,0.07-0.18s0.05-0.12,0.08-0.18c0.03-0.07,0.06-0.13,0.1-0.2  c0.03-0.07,0.06-0.13,0.1-0.2c0.04-0.07,0.08-0.14,0.12-0.21c0.04-0.07,0.08-0.14,0.12-0.21c0.01-0.02,0.02-0.03,0.03-0.05  c0.13-0.28,0.33-0.52,0.58-0.73c0.02-0.02,0.03-0.04,0.05-0.05c0.07-0.07,0.15-0.14,0.22-0.2c0.07-0.06,0.13-0.12,0.2-0.18  c0.08-0.06,0.17-0.12,0.26-0.18c0.08-0.05,0.15-0.11,0.23-0.15c0.1-0.06,0.2-0.1,0.31-0.15c0.08-0.04,0.16-0.09,0.25-0.12  c0.11-0.05,0.24-0.08,0.36-0.12c0.09-0.03,0.18-0.06,0.27-0.09c0.13-0.03,0.28-0.05,0.43-0.07c0.1-0.01,0.19-0.04,0.29-0.04  c0.17-0.01,0.35-0.01,0.54,0c0.09,0,0.17-0.01,0.26,0c0.28,0.02,0.57,0.06,0.89,0.12c0.54,0.11,1.14,0.2,1.76,0.29  c0.24,0.03,0.48,0.05,0.7,0.09c0.77,0.09,1.58,0.16,2.41,0.22c3.48,0.2,9.02,0.18,12.13-0.6c0,0,0,0,0,0  c1.36-0.45,2.72-0.91,3.52-1.65c0.5-0.63,0.52-1.4,0.56-2.43c-0.18-0.55-0.53-1.19-1.08-1.93c-0.19-0.25-0.39-0.5-0.6-0.75  c-0.05-0.05-0.1-0.11-0.14-0.16c-0.17-0.2-0.34-0.39-0.52-0.58c-0.08-0.08-0.16-0.16-0.24-0.24c-0.16-0.16-0.32-0.33-0.48-0.49  c-0.1-0.1-0.21-0.2-0.31-0.3c-0.15-0.14-0.29-0.28-0.44-0.42c-0.1-0.09-0.2-0.18-0.3-0.27c-0.16-0.14-0.32-0.29-0.48-0.43  c-0.1-0.09-0.2-0.17-0.3-0.25c-0.16-0.14-0.32-0.27-0.48-0.41c-0.1-0.08-0.2-0.16-0.3-0.24c-0.16-0.13-0.32-0.26-0.48-0.38  c-0.11-0.08-0.21-0.16-0.31-0.24c-0.15-0.11-0.3-0.23-0.44-0.34c-0.12-0.09-0.24-0.18-0.36-0.27c-0.12-0.09-0.25-0.19-0.37-0.27  c-0.11-0.08-0.21-0.15-0.31-0.23c-0.12-0.09-0.25-0.18-0.36-0.26c-0.1-0.07-0.2-0.14-0.29-0.21c-0.11-0.07-0.22-0.15-0.32-0.22  c-0.1-0.07-0.18-0.12-0.27-0.18c-0.09-0.06-0.18-0.13-0.27-0.18c-0.08-0.06-0.15-0.1-0.23-0.15c-0.07-0.05-0.15-0.1-0.21-0.14  c-0.09-0.06-0.15-0.1-0.22-0.15c-0.03-0.02-0.08-0.05-0.11-0.07c-0.08-0.05-0.14-0.09-0.18-0.12c-0.01,0-0.02-0.01-0.03-0.02  c-0.05-0.03-0.07-0.05-0.08-0.05c-0.23-0.12-0.46-0.23-0.7-0.35c-0.02-0.01-0.05-0.02-0.07-0.04c-0.09-0.04-0.17-0.08-0.27-0.13  c-0.07-0.04-0.16-0.08-0.24-0.12c-0.09-0.05-0.18-0.09-0.29-0.14c-0.09-0.04-0.2-0.09-0.3-0.14c-0.11-0.05-0.21-0.1-0.33-0.15  c-0.06-0.03-0.13-0.06-0.19-0.08c-1.17-0.51-2.41-0.98-3.68-1.34c-2.04-0.58-3.73-1.08-5.21-1.59c-2.31-0.4-4.16-1.25-5.72-2.4  c-0.45-0.33-0.87-0.69-1.27-1.06c-0.65-0.61-1.25-1.27-1.82-1.98c-0.77-0.78-1.39-1.67-1.89-2.6c0,0,0,0,0,0  C1206.86,730.88,1206.66,730.53,1206.47,730.18z",
        fill:"#022D50",
        text:{
            x:"1030",
            y:"610"
        },
        point:{
            x:"1025",
            y:"620"
        }
    },
    {
        name:"锦江区",
        path:"M1212.12,781.12c-0.07-0.01-0.17-0.03-0.3-0.06c-0.04-0.01-0.09-0.02-0.13-0.03c-0.1-0.02-0.21-0.04-0.34-0.07  c-0.06-0.01-0.14-0.03-0.21-0.05c-0.13-0.03-0.25-0.06-0.39-0.09c-0.09-0.02-0.19-0.05-0.29-0.07c-0.14-0.04-0.28-0.07-0.44-0.11  c-0.11-0.03-0.23-0.06-0.34-0.09c-0.16-0.04-0.31-0.09-0.48-0.13c-0.13-0.04-0.25-0.08-0.39-0.11c-0.17-0.05-0.34-0.1-0.51-0.16  c-0.14-0.04-0.28-0.09-0.42-0.13c-0.18-0.06-0.35-0.12-0.53-0.18c-0.14-0.05-0.29-0.1-0.43-0.15c-0.18-0.07-0.36-0.13-0.54-0.2  c-0.15-0.06-0.29-0.11-0.44-0.17c-0.18-0.07-0.36-0.15-0.53-0.23c-0.15-0.06-0.29-0.13-0.43-0.19c-0.18-0.08-0.35-0.17-0.52-0.25  c-0.14-0.07-0.28-0.14-0.42-0.21c-0.17-0.09-0.33-0.18-0.49-0.28c-0.13-0.08-0.26-0.15-0.38-0.23c-0.16-0.1-0.31-0.21-0.46-0.31  c-0.11-0.08-0.23-0.16-0.34-0.24c-0.15-0.11-0.28-0.23-0.42-0.35c-0.09-0.08-0.19-0.16-0.28-0.24c-0.14-0.14-0.26-0.28-0.38-0.42  c-0.06-0.07-0.13-0.14-0.19-0.22c-0.17-0.22-0.31-0.45-0.42-0.69c-0.23-0.49-0.48-1-0.75-1.54c-0.06-0.11-0.11-0.22-0.17-0.33  c-0.08-0.16-0.16-0.31-0.24-0.47c-0.06-0.11-0.12-0.23-0.18-0.34c-0.08-0.16-0.17-0.32-0.25-0.48c-0.05-0.09-0.1-0.18-0.14-0.27  c-0.1-0.19-0.2-0.37-0.3-0.56c-0.05-0.09-0.1-0.17-0.15-0.26c-0.1-0.19-0.21-0.37-0.31-0.56c-0.06-0.1-0.12-0.2-0.18-0.3  c-0.1-0.16-0.19-0.33-0.29-0.49c-0.07-0.12-0.14-0.23-0.21-0.34c-0.09-0.14-0.18-0.29-0.26-0.43c-0.07-0.11-0.14-0.21-0.21-0.32  c-0.09-0.14-0.18-0.28-0.27-0.41c-0.07-0.11-0.14-0.2-0.22-0.31c-0.09-0.12-0.17-0.25-0.26-0.37c-0.08-0.11-0.16-0.2-0.23-0.31  c-0.08-0.1-0.16-0.21-0.24-0.31c-0.08-0.09-0.15-0.18-0.22-0.27c-0.08-0.1-0.16-0.2-0.24-0.28c-0.07-0.08-0.14-0.15-0.21-0.22  c-0.08-0.08-0.16-0.17-0.24-0.25c-0.07-0.07-0.14-0.12-0.21-0.18c-0.08-0.07-0.15-0.14-0.23-0.2c-0.07-0.05-0.13-0.09-0.2-0.13  c-0.07-0.05-0.15-0.1-0.22-0.14c-0.06-0.04-0.13-0.05-0.19-0.08c-0.07-0.03-0.15-0.07-0.22-0.09c0,0-0.01-0.01-0.02-0.02v0  c0,0,0,0,0-0.01c-0.02-0.03-0.06-0.08-0.12-0.16c-0.01-0.02-0.02-0.03-0.03-0.05c-0.06-0.09-0.14-0.19-0.23-0.32  c-0.02-0.03-0.04-0.05-0.06-0.08c-0.1-0.14-0.2-0.29-0.32-0.46c-0.01-0.02-0.03-0.04-0.04-0.06c-0.12-0.18-0.25-0.37-0.39-0.58  c-0.01-0.01-0.01-0.02-0.02-0.03c0,0,0,0,0,0c-0.01-0.01-0.01-0.01-0.02-0.02c-0.32-0.48-0.67-1.01-1.02-1.57l-1.12,0.37  c-0.47,1.44-2.76,7.81-3.43,10.96c-0.67,3.16-2.29,6.7-1.7,9.27c0.59,2.56,1.38,8.28,1.18,10.65c-0.2,2.37,2.21,11.26,2.21,11.26  c0.01,0,0.01,0,0.02-0.01c0.2-0.07,0.41-0.13,0.63-0.2c0.04-0.01,0.09-0.02,0.13-0.04c0.2-0.06,0.4-0.12,0.61-0.17  c0.03-0.01,0.06-0.02,0.09-0.02c0.23-0.06,0.47-0.12,0.71-0.18c0.01,0,0.03-0.01,0.04-0.01c0.26-0.06,0.52-0.12,0.79-0.17  c0,0,0,0,0.01,0c0,0,0,0,0,0c0.66-0.13,1.33-0.23,2.02-0.29c0.05,0,0.09-0.01,0.14-0.01c0.33-0.03,0.66-0.05,0.99-0.05  c0,0,0.01,0,0.01,0c0.33-0.01,0.65,0,0.97,0.02c0.06,0,0.13,0.01,0.19,0.01c0.03,0,0.07,0,0.1,0.01c0,0,0,0,0,0  c0.76-0.03,1.49,0.17,2.2,0.45c0.12,0.04,0.24,0.09,0.35,0.14c0.03,0.01,0.06,0.02,0.09,0.03c0.05,0.02,0.11,0.05,0.16,0.07  c0,0,0.01,0,0.01,0.01c0.06,0.03,0.13,0.06,0.19,0.09c1.29,0.6,2.56,1.32,3.9,1.32c2.35,0,4.65,0,4.65,0h0  c0.48-0.48,1.43-1.44,2.29-2.85c0.91-1.52,1.71-3.56,1.71-6.15l0.72-15.21C1212.23,781.14,1212.19,781.13,1212.12,781.12z",
        fill:"#022D50",
        text:{
            x:"1020",
            y:"670"
        },
        point:{
            x:"1020",
            y:"650"
        }
    },
    {
        name:"武侯区",
        path:"M1164.52,793.58c0.25-3.4-2.53-0.84-1.29-5.67s0.62-3.78,0-8.94c-0.62-5.16-1.17-7.32,2.35-8.87  c3.52-1.54,2.94-5.25,4.93-2.78c1.99,2.47,1.23,11.56,3,11.65c1.77,0.09,7.02-0.4,8.26,0c1.24,0.4,2.71-0.09,3.35,3.47  c-0.59-2.56,1.02-6.11,1.7-9.27c0.67-3.16,2.96-9.53,3.43-10.96c0,0,0,0-4.14,0s-5.52,0.71-9.52,0c-3.99-0.71-3.89-1.26-7.44,0  s-7.1-2.86-7.1-2.86s-7.1,0.41-13.41,0c-3.87-0.25-7.59,3.59-9.84,6.83c0,0,0,0,0,0c0.16,0.19,0.32,0.38,0.48,0.59  c0.02,0.02,0.03,0.04,0.05,0.07c0.01,0.01,0.02,0.03,0.03,0.04c0.01,0.01,0.02,0.01,0.02,0.02c0.97,0.86,1.75,2.33,2.36,3.97  c0.02,0.05,0.05,0.1,0.07,0.15c0.11,0.25,0.22,0.49,0.33,0.74c0.11,0.26,0.22,0.52,0.32,0.79c0.06,0.15,0.11,0.29,0.16,0.44  c0.08,0.22,0.15,0.43,0.22,0.65c0.05,0.14,0.09,0.28,0.13,0.43c0.07,0.24,0.14,0.48,0.2,0.72c0.03,0.11,0.06,0.22,0.09,0.34  c0.08,0.35,0.15,0.69,0.21,1.03c0.01,0.07,0.02,0.14,0.03,0.21c0.04,0.27,0.07,0.54,0.09,0.81c0.01,0.11,0.01,0.21,0.02,0.32  c0.01,0.23,0.01,0.46,0.01,0.69c0,0.1,0,0.19-0.01,0.29c-0.02,0.31-0.05,0.61-0.11,0.89c0,0,0,0,0,0c0,1.11-0.31,1.91-0.5,3.51  c-0.08,0.84-0.13,1.68-0.15,2.52c-0.01,0.94,0.02,2.05,0.13,3.42c0.03,0.34,0.07,0.66,0.13,0.98c0.01,0.08,0.03,0.16,0.04,0.24  c0.26,1.34,0.78,2.46,1.4,3.39c1.02,1.02,2.54,2.53,4.43,3.77c0.05,0.02,0.07,0.03,0.02,0.02c0.44,0.29,0.9,0.57,1.39,0.82  c2.17,0.97,6.65,2.17,12.02-0.33c1.53-0.69,2.63-1.32,3.09-1.32c0.11,0,0.27-0.01,0.45-0.03  C1165.07,795.61,1164.43,794.71,1164.52,793.58z",
        fill:"#022D50",
        text:{
            x:"970",
            y:"650"
        },
        point:{
            x:"980",
            y:"630"
        }
    },
    {
        name:"高新区",
        path:"M1186.3,793.09c0.2-2.37-0.59-8.08-1.18-10.65c-0.64-3.56-2.12-3.07-3.35-3.47c-1.24-0.4-6.49,0.09-8.26,0  c-1.77-0.09-1.01-9.18-3-11.65c-1.99-2.47-1.41,1.24-4.93,2.78c-3.52,1.54-2.97,3.71-2.35,8.87c0.62,5.16,1.24,4.11,0,8.94  s1.54,2.27,1.29,5.67c-0.08,1.13,0.56,2.03,1.44,2.74c1.4-0.14,4.5-0.61,4.54,1.98c0,0.03,0,0.05,0,0.05c0,0,0,0,0,0l0,0l1,13l0,0  c0,0,0,0,0,0c0,0,5.85,4.87,6.85,5.01c0.02,0.01,0.05,0.01,0.07,0.01c0.89,0.02,2.11-0.03,4.99-0.87c1.2-0.51,1.43-1.19,2.08-3.15  l0,0c0-8,3-8,3-8c0,0,0,0,0,0C1188.5,804.35,1186.1,795.45,1186.3,793.09z",
        fill:"#022D50",
        text:{
            x:"995",
            y:"685"
        },
        point:{
            x:"1005",
            y:"665"
        }
    },
    {
        name:"天府新区",
        path:"M1158.5,909.35c6,3,13,1,15,1s4-1,6,1s5,6,9,7s14,0,14,0s5.23,2.5,7.62-6.25s-0.03-6.73,0.68-12.24  s4.54-2.16,6.62-4.83c1.26-1.61,2.23-1.72,2.34-3.24c-0.41-1.85-1.26-5.69-1.66-8.01c-0.1-0.5-0.16-0.93-0.19-1.28  c0-0.01,0-0.01,0-0.02c0-0.02,0-0.05-0.01-0.07c-0.02-0.2-0.03-0.35-0.02-0.44c0-0.68,0.15-1,0.36-1.12c0.01,0,0.01-0.01,0.02-0.01  c0.01,0,0.01-0.01,0.02-0.01c0.01,0,0.01,0,0.01,0s0.42-0.32,1.2,0.52c0.01,0.01,0.01,0.01,0.01,0.01s6.08-5.44,7.54-7.72  c1.11-2.02,4.23-9.08,4.64-10.2c0.41-1.12,1.98-6.17,2.84-7.33c0.27-0.48,0.83-1.12,1.5-1.89c0.81-1.02,1.88-2.37,3.34-4.38  c0.63-1.12,1.07-2.3,1.09-3.48c0.02-1.52-0.11-3.17-0.28-4.65c-0.28-1.53-0.61-3.02-0.67-4.36c0,0,0,0-1,1s-4-2-5-3  c-0.37-0.37-1.83-2.24-3.52-4.45c0,0,0,0,0,0c-0.01-0.01-0.01-0.01-0.02-0.02c-0.2-0.26-0.41-0.53-0.61-0.8  c-6.39-8.27-16.3-18.84-16.73-19.29l-5.12-5.44c-1,1-5,1-8-1c0,0,0,0,0,0c-0.24-0.16-0.49-0.29-0.75-0.41  c-0.07-0.03-0.15-0.06-0.22-0.1c-0.22-0.09-0.45-0.18-0.68-0.25c-0.05-0.02-0.1-0.04-0.15-0.05c-0.28-0.08-0.58-0.14-0.88-0.19  c-0.06-0.01-0.13-0.02-0.2-0.03c-0.23-0.03-0.46-0.06-0.69-0.08c-2.45,0.11-7.43,1.11-7.43,1.11c-3,1-2,5-3,8  c0,0,0.83,2.31-2.08,3.15c-0.63,0.27-1.53,0.5-2.92,0.85c-0.7,0.17-1.39,0.16-2.08,0.02c-0.01,0-0.02,0-0.03,0  c-0.01,0-0.03-0.01-0.04-0.01c-3.2-0.69-6.03-4.19-6.85-5.01c-1-1-1-10-1-13l0,0l-2.03,5.25c0,0-1.24,7.28-2.9,12.88  c-1.66,5.6-1.73,7.06-2.66,11.7s-4.32,7.72-5.25,10.37c-0.93,2.65-1.54,7.24-3.25,11.8c-1.7,4.56,1.39,2.54,3.56,5.96  c2.16,3.42,0,5.54-0.62,10.06s1.54,5.67,1.83,8.45s-4.92-1.24-6.31,3.09c-1.39,4.32,3.24,5.25,3.24,8.96c0,3.71-0.93,7.1-2.16,10.5  c-0.47,1.3-1.22,2.28-1.96,2.98C1153.36,905.05,1153.52,906.86,1158.5,909.35z",
        fill:"#022D50",
        text:{
            x:"1000",
            y:"720"
        },
        point:{
            x:"1010",
            y:"730"
        }
    },
    {
        name:"龙泉驿区",
        path:"M1292.44,785.94C1292.44,785.95,1292.44,785.94,1292.44,785.94c0.08-1.62,0.39-3.97,1.54-4.48  c0,0,0.32-0.68,0.73-1.36c0.21-0.55,0.56-0.95,1.02-1.27c0.01,0,0.01-0.01,0.02-0.01c0,0,0,0,0,0c0.58-0.39,1.32-0.65,2.12-0.87  c2-0.73,4.63-1.61,4.63-1.61c0.16-0.1,0.29-0.22,0.42-0.34c0.53-0.56,1.34-1.96,1.03-5.1c0-0.01,0-0.01,0-0.02l-2.02-6.79  l-0.02-0.05c-0.14-0.46-1.2-3.96-1.78-5.28c-0.31-0.46-0.79-1.15-1.39-1.9c-1.06-1.15-2.46-2.38-3.52-3.2  c-0.01-0.01-0.02-0.01-0.03-0.02c-0.05-0.02-0.34-0.15-0.76-0.33c-1.04-0.35-1.97-0.82-3.03-1.29c-0.37-0.15-0.7-0.29-0.96-0.4  c-0.19-0.07-0.38-0.14-0.59-0.21c-0.07-0.02-0.17-0.05-0.31-0.1c-1.43-0.47-3.2-0.84-5.67-0.94c-0.07,0-0.14-0.01-0.21-0.01  c-0.37-0.01-0.75-0.02-1.16-0.02c-0.23,0-0.47-0.01-0.72-0.02c-4.83-0.2-10.16-2.36-10.16-2.36l-0.01,0  c-4.91-1.67-9.12-3.61-9.12-3.61l-7.5-3c-0.5,0-7.21,0.4-8.36,0.2c0,0,0,0-0.01,0c-2.38,0.15-4.8,0.46-5.64,1.3c-2,2-5,5-5,5  s3.67,3.35,3.58,5.42c0,0,0,0,0,0c0.13,0.38,0.18,0.73,0.15,1.04c-0.04,0.56-0.31,1.01-0.72,1.39c-0.51,0.64-1.51,1.14-3.52,1.65  c-2.17,0.72-7.48,0.92-12.14,0.6c-0.99-0.06-1.83-0.14-2.38-0.22c-0.01,0-0.01,0-0.02,0c-0.24-0.03-0.47-0.06-0.7-0.09  c-2.1-0.23-4.96-0.14-6.3,0.95c-0.05,0.05-0.09,0.1-0.13,0.15c-0.06,0.07-0.13,0.14-0.19,0.21c-0.05,0.07-0.1,0.14-0.15,0.2  c-0.05,0.06-0.09,0.13-0.14,0.19c-0.41,0.94-0.68,5.86-0.86,10.78v5.22l-0.28,5.79v0c0,0-0.3,15.87-1.01,18.04  c-0.34,1.03-0.75,2.26-1.3,3.36c-0.6,1.21-1.37,2.28-2.41,2.8l5.1,5.42c0,0,0.01,0.01,0.02,0.02l10.88,11.56  c0,0,3.09,4.12,5.85,7.73c0.21,0.27,0.41,0.54,0.61,0.8c0.01,0.01,0.01,0.02,0.02,0.02c6.47,8.55,8.52,7.45,8.52,7.45c1-1,1-1,1-1  s-0.49-1.6,0.21-3.71c0.01-0.04,0.02-0.08,0.04-0.13c0.25-0.7,0.99-1.61,2-2.57c0.01-0.01,0.02-0.03,0.04-0.04  c1.12-1.14,2.58-2.22,3.96-3.12c1.24-0.83,2.48-1.55,3.5-2c1.69-0.81,5.26-2.44,5.26-2.44s3.77,0.06,5.75,0.57  c1.22,0.23,2.34,0.55,3.04,1c0.56,0.36,1.07,0.75,1.57,1.13h0c0.82,0.6,1.29,0.97,1.62,1.21c0.4,0.28,0.81,0.53,1.25,0.76  c0.88,0.37,4.49,1.32,5.15,1.49c0.19,0.04,0.39,0.08,0.58,0.12c0.07,0.01,0.15,0.02,0.24,0.03c0.11,0.02,0.21,0.02,0.32,0.04  c0.25,0.03,0.53,0.05,0.83,0.05c0.05,0,0.1,0,0.15,0c0.17,0,0.34,0,0.52-0.01c0.62-0.04,1.28-0.16,1.99-0.4  c1.02-0.41,1.64-0.52,2.14-0.62c0.46-0.13,0.82-0.24,1.13-0.41c0.05-0.03,0.1-0.06,0.15-0.09c0.01-0.01,0.02-0.01,0.03-0.02  c0.24-0.17,0.49-0.4,0.72-0.69c0.02-0.03,0.05-0.07,0.08-0.1c0.05-0.06,0.09-0.13,0.14-0.2c0.1-0.16,0.21-0.33,0.32-0.53  c0.03-0.06,0.06-0.11,0.09-0.17c0.04-0.09,0.09-0.18,0.13-0.27c0.04-0.09,0.08-0.19,0.12-0.29c0.31-0.81,0.54-1.86,0.7-2.99  c0-0.01,0-0.02,0-0.02c0.27-2.82,0.3-5.96,0.1-8.07c-0.24-1.29-0.52-2.77-0.2-3.71c0.06-0.22,0.15-0.4,0.29-0.53  c0.01,0,0.01-0.01,0.02-0.01c0.13-0.14,0.3-0.24,0.51-0.31c0,0,0,0,0,0c0.37-0.12,0.86-0.14,1.52,0.03  c0.08,0.02,0.16,0.04,0.23,0.06c0.46,0.11,1.03,0.27,1.73,0.49c0.04,0.01,0.08,0.02,0.12,0.04c0.49,0.15,0.98,0.3,1.48,0.45  c1.63,0.5,3.07,0.93,3.97,1.16c0.25,0.06,0.49,0.11,0.72,0.16c0.74,0.14,2.03,0.39,3.36,0.13c0.34-0.08,0.69-0.18,1.03-0.3  c0.79-0.33,1.67-0.72,2.43-1.09c1.06-0.57,1.8-1.08,1.8-1.08c0.19-0.23,0.27-0.49,0.26-0.77c-0.02-0.2-0.09-0.45-0.25-0.74  c0-0.01-0.01-0.01-0.01-0.02c-0.05-0.09-0.12-0.18-0.18-0.28c-0.1-0.12-0.19-0.24-0.28-0.36c-0.03-0.03-0.05-0.07-0.08-0.1  c-0.02-0.02-0.03-0.04-0.05-0.06c-0.4-0.43-0.97-0.94-1.76-1.51c-0.08-0.06-0.17-0.12-0.26-0.18c-0.52-0.37-1.13-0.76-1.85-1.19  c-0.43-0.25-0.82-0.5-1.18-0.74c-0.24-0.15-0.47-0.3-0.75-0.5c-0.02-0.01-0.03-0.03-0.05-0.04c-0.47-0.34-0.87-0.65-1.23-0.96  c-0.06-0.05-0.11-0.1-0.17-0.14c-0.09-0.08-0.18-0.16-0.26-0.24c-0.14-0.13-0.28-0.27-0.4-0.4c-0.05-0.05-0.09-0.11-0.14-0.16  c-0.06-0.07-0.13-0.14-0.18-0.21c-0.26-0.35-0.52-0.61-0.72-1.18c-0.49-1.14-0.4-2.26-0.35-3.66c0.01-3.06-0.02-7.26-0.03-8.8  c0-0.18,0-0.34,0-0.5c0-0.06,0-0.1,0-0.1s-0.02-0.43,0-1.05C1292.43,786.07,1292.43,785.87,1292.44,785.94z",
        fill:"#022D50",
        text:{
            x:"1070",
            y:"650"
        },
        point:{
            x:"1080",
            y:"660"
        }
    },
    {
        name:"双流区",
        path:"M1153.96,897.38c1.24-3.4,2.16-6.8,2.16-10.5c0-3.71-4.63-4.63-3.24-8.96c1.39-4.32,6.6-0.31,6.31-3.09  s-2.45-3.92-1.83-8.45s2.78-6.64,0.62-10.06c-2.16-3.42-5.26-1.4-3.56-5.96c1.7-4.56,2.32-9.15,3.25-11.8  c0.93-2.65,4.32-5.74,5.25-10.37s1-6.1,2.66-11.7c1.66-5.6,2.9-12.88,2.9-12.88l2.03-5.25l0,0c0,0-2.69-0.6-4.47-1.97  c-0.98,0.21-2.17,0.61-3.62,1.29c-1.8,0.81-4.21,1.68-6.91,1.68c-1.86,0-3.58-0.55-5.11-1.35c-1.03-0.46-1.55-0.87-1.39-0.82  c-0.01-0.01-0.02-0.01-0.02-0.02c-0.33-0.15-2.76-1.25-4.43-3.77c-0.01-0.01-0.03-0.03-0.04-0.04c-0.66-0.66-1.09-1.86-1.35-3.34  c-0.02-0.08-0.03-0.16-0.04-0.24c-0.16-1-0.25-2.12-0.26-3.29c0-0.36,0-0.73,0.01-1.1c0.01-1.03,0.07-1.85,0.15-2.52  c0.11-1.22,0.28-2.41,0.5-3.51c0-1.32-0.55-5.23-1.75-8.47c-0.04-0.09-0.09-0.19-0.13-0.28c-0.1-0.21-0.21-0.42-0.32-0.63  c-0.05-0.1-0.11-0.2-0.16-0.3c-0.12-0.22-0.24-0.45-0.37-0.67c-0.01-0.01-0.02-0.03-0.03-0.04c-0.45-0.77-0.92-1.47-1.4-2.1  c-2.91-2.55-11.85-6.53-11.85-9.52c0,1,0,2-3,4s-5,5-8,8c-0.94,0.94-1.58,1.88-2.18,2.78c-0.17,0.45-0.52,0.94-0.96,1.43  c-1.02,1.44-2.27,2.75-4.87,3.79c-2.88,1.15-5.43,0.65-7.45,0.2c-3.55-0.2-3.55-0.2-3.55-0.2s-0.01,0.63-1.51,1.39  c-0.25,0.36-0.5,0.61-1.49,0.61c-3,1-3.81-1.39-3.81-1.39l0,0l0.4,1.39l0,0c0,0,2.41,6,2.68,9.43c0,0,0,0,0,0l0.73,2.57  c0,0,0.99,1.73,1.98,3.59c0.36,0.58,0.68,1.16,0.9,1.74c0,0,0,0,0,0c0.63,1.25,1.12,2.33,1.12,2.67c0,0.29-0.01,1.02-0.01,1.93  c0.02,0.46,0.03,0.98,0.04,1.61c0.02,0.56,0.06,1.14,0.12,1.68c0.15,1.21,0.43,2.06,0.66,2.59c0.06,0.08,0.12,0.15,0.19,0.19  c0.28,0.19,0.54,0.37,0.79,0.54c0.55,0.12,1.18,0.59,2.19,1.45c2.35,2,4.6,8.85,6.97,11.43c0.64,0.69,1.03,1.32,1.36,1.86  c0.23,0.25,0.46,0.5,0.69,0.73c0.86,0.86,2.84,0.98,4.82,0.84c5.49-0.85,1.53-1.85,5.51-0.85c4,1,9,1,9,4s0,5,3,8s8,5,9,9  s2.15,5.56,1.08,8.78c-1.08,3.22-1.01,4.53-4.04,5.38c0,0-2.51,8.12-2.77,9.48c-0.26,1.36-1.03,5.57-1.15,9.47  c-0.06,1.98-0.35,3.98-0.61,5.48c0.11,2.86,2.7,4.05,2.7,4.05s3.47,3.38,5.47,3.38s4.91-0.5,7.45,6.75c0.43,1.23,0.76,2.3,1.04,3.26  C1152.74,899.65,1153.48,898.68,1153.96,897.38z",
        fill:"#022D50",
        text:{
            x:"930",
            y:"670"
        },
        point:{
            x:"960",
            y:"660"
        }
    },
    {
        name:"温江区",
        path:"M1127.5,749.35c0.96-2.88,3.75-2.99,3.98-3c0.01,0,0.02,0,0.02,0l7-5l-6.92-3.04  c-5.12-2.15-12.04-4.84-17.08-5.96c-4-0.5-8.5-3.5-12.25-6.88c-0.37-0.33-0.73-0.67-1.08-1c-0.09-0.09-0.19-0.18-0.28-0.27  c-3.1-3.01-5.51-6.1-6.39-7.85c-1.14-1.91-3.46-4.4-6.21-6.92c-2.24-1.98-4.3-3.59-4.84-4.09c-0.32-0.25-0.65-0.51-0.97-0.76  c-2.39-1.72-7.98-5.24-7.98-5.24c-3.78-1.89-6.76-4.57-8.45-6.29l0,0l0,0c-1-1.02-1.55-1.71-1.55-1.71l-3.22-6.75  c-0.31,0.38-0.87,1.16-1.08,2.14l0,0c0.04,0.44,0.13,0.94,0.27,1.49c1.09,3.82,5.03,13.12,5.03,13.12s0,0-0.43,3.15c0,0,0,0,0,0  c-0.03,0.57-0.02,1.17,0.03,1.79c0.37,2.49,1.95,4.66,1.95,4.66l5.31,5.27c0.14-0.55,0.14,0.14,0.14,0.14  c0.48,0.48,0.03,1.9-0.67,3.45l0,0c-0.67,5.45-3.95,5.7-3.95,5.7s0.63,0.85,2.63,1.85c0.67,0.34,1.23,1.02,1.68,1.76l0,0  c0,0,0.52,0.49,0.88,1.86c0.29,0.78,0.44,1.37,0.44,1.37c-0.06,0.42-0.09,0.87-0.11,1.33c0.01,0.26,0.01,0.52,0,0.81  c0.02,0.72,0.08,1.49,0.18,2.28c0.72,4.81,3.27,12.33,3.29,12.37c0,0,0,0,0,0l9.63,23.21l2.86,4.37c0.45,0.5,0.9,0.9,1.33,1.24v0v0  c1.45,1.11,2.76,1.39,3.81,1.39c0.61-0.2,1.1-0.41,1.49-0.61c0.25-0.38,0.5-0.89,1.51-1.39c0.85-0.42,2.06-0.13,3.55,0.2  c0,0,0,0,0,0c3.55,0.2,7.45-0.2,7.45-0.2s3.16-1.9,4.87-3.79c0.33-0.46,0.64-0.94,0.96-1.43c0.82-2.22,6.84-7.87,6.84-7.87  l6.33-6.91c-0.25-1.38-0.38-2.58-0.4-3.64C1127.01,752.3,1127.05,750.72,1127.5,749.35z",
        fill:"#022D50",
        text:{
            x:"915",
            y:"610"
        },
        point:{
            x:"925",
            y:"620"
        }
    },
    {
        name:"郫都区",
        path:"M1061.5,684.35l4.55,8.71c0,0,0,0,0,0l8.45,6.29c2.2,1.1,5.08,3.01,7.98,5.24c0.44,0.32,0.78,0.58,0.95,0.74  c0.01,0,0.02,0.01,0.02,0.02c1.67,1.31,3.32,2.7,4.84,4.09c2.48,2.19,5.16,4.82,6.21,6.92c1.3,2.17,3.54,5.08,6.39,7.85  c0.09,0.09,0.19,0.18,0.28,0.27c0.35,0.34,0.71,0.67,1.08,1c3.5,3.12,7.75,5.88,12.25,6.88c8,1,17.08,5.96,17.08,5.96l0,0  c4.01,1.69,6.92,3.04,6.92,3.04h0h8c1.09,0,2.17-0.23,3.22-0.57c0.25-0.11,0.48-0.21,0.71-0.32c0.29-0.14,0.58-0.29,0.94-0.47  c0.47-0.24,1.04-0.55,1.86-0.96c0.2-0.1,0.42-0.22,0.66-0.33c0.47-0.24,1.02-0.51,1.65-0.82c0,0,0,0,0,0  c0.36-0.21,0.68-0.39,0.96-0.53c1.5-0.75,4.67-1.49,6.59-1.41c0,0,0,0,0,0c0.22-0.15,0.48-0.13,0.78,0.04  c0.04,0.03,0.09,0.07,0.14,0.1c0.08,0.02,0.15,0.05,0.22,0.08c-0.14-0.2-0.22-0.32-0.22-0.32s8-2,9-10c0.2-1.57,0.08-3.06-0.23-4.45  c-1.59-4.75-5.27-9.05-5.27-9.05s-0.01-0.02-0.02-0.04c-0.29-0.29-0.48-0.46-0.48-0.46s-3.84-5.12-4.86-6.65  c-2.89-1.39-9.72-8.68-12.66-10.46c-0.42-0.17-0.87-0.29-1.33-0.39c-0.74,0-1.58-0.02-2.46-0.14c-0.01,0-0.02,0-0.03,0  c-5.35,0.61-6.89-5.64-7.3-8.84c-0.17-1.14-0.18-2.3,0.01-3.41c0.19-2.97,0.27-7-3.38-12.11l0.05-0.04  c-0.07-0.09-0.14-0.17-0.21-0.25c-0.68-0.61-3.36-2.81-7.35-5.21c-9-3-18-4-18-4s-10.73-5.61-19.28-9.03l-4.56-1.66  c-0.1,0.43-0.16,0.69-0.16,0.69s-1.5-1.12-2.89-1.3c-0.51-0.01-0.93,0.05-1.26,0.18c-0.36,0.2-0.67,0.55-0.86,1.12  c-0.21,0.63-0.24,1.72-0.17,3.06c0.08,0.57,0.17,1.16,0.24,1.74c0.37,3.09,1.13,7.47,1.11,11.71c0.07,1.44,0.03,2.66-0.18,3.49  c-0.03,0.1-0.07,0.22-0.1,0.33c0,0.02,0,0.04-0.01,0.05l-0.01,0.01c-1.27,4.16-7.1,12.6-13.88,12.6c-3.86,0-6.18,0.84-6.35,0.91  c-0.01,0.01-0.02,0.01-0.03,0.02l0.16,0.33C1061.41,684.44,1061.5,684.35,1061.5,684.35z",
        fill:"#022D50",
        text:{
            x:"930",
            y:"580"
        },
        point:{
            x:"960",
            y:"560"
        }
    },
    {
        name:"新都区",
        path:"M1195.08,661.68l-5.82-0.32c-0.68-0.01-1.28-0.01-1.75-0.01c-3,0-7,0-9-5c-0.58-1.45-1.33-2.72-2.17-3.81  c-3.59-4-6.53-4.29-8.21-3.96c-0.48,0.14-0.99,0.34-1.52,0.58l-8.6,5.7l-11.63,6.79l-11.32,8.18c3.1,4.05,4.08,9,3.45,11.54  c-0.05,0.2-0.09,0.4-0.12,0.61c-0.07,1.1-0.16,2.06-0.08,2.87c0.02,0.17,0.04,0.35,0.06,0.54c0.42,2.88,1.77,5.62,3.13,6.98  c1.19,1.19,2.72,1.66,4.19,1.86c0.87-0.09,1.68-0.03,2.46,0.14c0.12,0,0.24,0,0.35,0c0.24,0,0.57,0.14,0.98,0.39  c3.48,1.37,5.62,4.71,5.62,4.71s5.82,4.71,6.82,5.41c-0.06-0.12-0.05-0.13,0.07-0.01c0.14,0.14,0.09,0.12-0.07,0.01  c0.04,0.07,0.12,0.19,0.21,0.34c0.13,0.06,0.25,0.11,0.36,0.15c2.88,0.96,4.83,6.5,4.98,6.96c1.19,1.17,4.28,4.55,5.28,9.09  c0.44,1.31,0.73,2.65,0.73,3.95c0,6-8,12-9,11c-0.07-0.07-0.17-0.13-0.28-0.18c0.06,0.08,0.12,0.17,0.2,0.27  c0.4,0.39,0.85,0.94,1.41,1.68c0.41,0.43,0.86,0.85,1.33,1.2c0.78,0.5,1.63,0.78,2.34,0.91c1.58,0.02,3.43-1.08,6.37-3.27  c0.22-0.2,0.43-0.4,0.63-0.6c0.63-0.63,1.13-1.31,1.51-1.95c0.46-0.82,0.84-1.74,1.16-2.7c0.3-0.97,0.53-1.84,0.71-2.62  c0.39-1.86,0.53-3.62,0.47-4.81c-0.19-1.61-0.85-1.91-0.85-1.91s-0.32-1.27-0.51-3.44c-0.04-0.48-0.08-1.01-0.1-1.58  c-0.02-0.41-0.03-0.84-0.03-1.28c-0.03-1.22,0-2.46,0.13-3.59c0-0.03,0-0.06,0.01-0.09c0.09-1.12,0.24-1.96,0.43-2.6  c0.13-0.42,0.27-0.75,0.43-1c0.34-0.53,0.75-0.73,1.2-0.79c0.67-0.28,1.48-0.25,2.42,0c0,0,0,0,0,0c0.87-0.17,2.13,0.27,3.71,1  c1.13,0.52,2.43,1.2,3.87,1.91c0.72,0.36,1.49,0.73,2.28,1.1c0.42,0.16,0.84,0.35,1.26,0.57c0.06,0.02,0.11,0.05,0.17,0.07  c0.32,0.14,0.64,0.3,0.96,0.47c0.12,0.07,0.23,0.14,0.35,0.21c0.19,0.12,0.39,0.23,0.58,0.36c0.15,0.1,0.29,0.21,0.43,0.31  c0.16,0.11,0.32,0.22,0.47,0.34c0.17,0.13,0.33,0.26,0.49,0.4c0.12,0.1,0.25,0.2,0.37,0.31c0.19,0.16,0.37,0.33,0.55,0.5  c0.09,0.08,0.18,0.17,0.27,0.25c0.2,0.2,0.4,0.39,0.6,0.59c0.06,0.06,0.12,0.12,0.17,0.17c0.22,0.23,0.43,0.46,0.64,0.68  c0.03,0.03,0.05,0.06,0.08,0.09c0.23,0.26,0.45,0.51,0.66,0.76c0,0,0,0,0,0c0,0,0,0,0,0c0.73,0.86,1.35,1.68,1.85,2.37  c1.1,1.4,1.77,2.4,1.77,2.4s0,4.51,2.08,8.36c0.61,0.91,1.23,1.78,1.89,2.6c0.01,0.01,0.02,0.02,0.03,0.03  c2.84,2.84,5.18,4.16,8.79,5.41c0,0,0,0,0,0c0.66,0.11,1.33,0.26,2,0.44c0.11,0.03,0.22,0.06,0.34,0.09  c0.22,0.06,0.44,0.12,0.66,0.18c0.12,0.03,0.24,0.07,0.35,0.11c0.21,0.06,0.42,0.13,0.63,0.2c0.12,0.04,0.24,0.08,0.36,0.12  c0.2,0.07,0.4,0.13,0.6,0.2c0.16,0.06,0.31,0.11,0.46,0.17c0.16,0.06,0.32,0.11,0.47,0.17c0.15,0.06,0.29,0.11,0.44,0.17  c0.15,0.06,0.31,0.12,0.45,0.18c0.13,0.05,0.26,0.1,0.39,0.16c0.15,0.06,0.31,0.12,0.45,0.18c0.11,0.05,0.22,0.09,0.33,0.14  c0.15,0.06,0.3,0.13,0.45,0.19c0.11,0.05,0.21,0.09,0.31,0.14c0.07,0.03,0.14,0.06,0.2,0.09c0.58,0.25,1.13,0.52,1.67,0.79  c0.03,0.01,0.07,0.03,0.09,0.05c0.06,0.03,0.11,0.06,0.16,0.08c0.06,0.03,0.12,0.06,0.17,0.08c0.02,0.01,0.03,0.01,0.05,0.02  c0.06,0.03,0.12,0.06,0.15,0.08c0.01,0,0.01,0,0.01,0.01c0.02,0.01,0.05,0.03,0.05,0.03c0,0,0,0,0,0l0,0c0,0,0,0,0,0  c4.08,2.14,6.94,4.52,6.94,4.52s3-3,5-5c0.21-0.21,0.38-0.38,0.5-0.5c1-1,3.99-1,5.14-0.8c3.3-0.21,6.52-0.12,5.36-0.7  c-0.52-0.26-1.32-1.08-2.24-2.21c-1.18-1.06-2.56-2.73-3.68-5.34c0,0,0,0,0,0c-1.24-2.05-2.32-4.14-2.85-5.71  c-1.2-2.52-2.07-5.36-2.31-11.65c0,0,0,0,0,0c-0.72-4.23-1.43-8.73-1.91-12.09c-0.57-3.98-2.1-7.3-3.32-9.44  c-0.98-1.38-1.52-2.13-1.81-2.55c-1.27,0.11-11.19,0.92-15.86-0.01c-0.37-0.07-0.71-0.2-1.03-0.34c-0.16-0.07-0.31-0.14-0.43-0.22  c-0.02-0.01-0.04-0.03-0.06-0.04c-2.03-1.24-2.88-3.89-3.23-5.89c-0.37-1.8-0.43-3.62-0.23-4.93l0.13-12.43  c-2.84,0.14-6.16-2.14-6.16-2.14s-4,1-6-2c-0.04-0.06-0.09-0.12-0.13-0.18c-0.13-0.1-0.25-0.21-0.37-0.32  C1199.59,662.44,1197.44,661.95,1195.08,661.68z",
        fill:"#022D50",
        text:{
            x:"1000",
            y:"550"
        },
        point:{
            x:"1010",
            y:"560"
        }
    },
    {
        name:"青白江区",
        path:"M1213.26,685.36c0.49,2.4,1.53,4.76,3.23,5.89c0.16,0.09,0.32,0.18,0.49,0.26c3.73,1.57,16.53-0.16,16.53-0.16  s0,0,0.36,0.51c0.09-0.01,0.14-0.01,0.14-0.01s0.75,0.94,1.68,2.56c0,0,0,0,0,0c2.18,3.06,4.82,10.94,5.23,21.53  c0.78,4.58,1.57,8.83,2.09,10.91c0.06,0.23,0.14,0.48,0.22,0.74c0.82,1.72,1.81,3.29,2.85,5.71c1.19,1.97,2.53,3.91,3.69,5.34  c1.52,1.36,2.74,1.71,2.74,1.71l2.5,1l16.62,6.61c3.44,1.17,7.23,2.21,10.16,2.37c0.24,0.01,0.48,0.02,0.72,0.02  c0.41,0,0.79,0.01,1.16,0.02c0.07,0,0.14,0.01,0.21,0.01c3.25,0.13,4.96,0.69,5.67,0.94c0.1,0.03,0.21,0.07,0.31,0.1  c0.01,0,0.02,0.01,0.03,0.01c0.06,0.01,0.27,0.09,0.56,0.21c0.34,0.13,0.66,0.26,0.96,0.4c0.99,0.41,2.23,0.95,3.03,1.29  c0.03,0.01,0.05,0.02,0.08,0.03c0.23,0.08,0.46,0.18,0.69,0.3c0.01,0,0.02,0.01,0.02,0.01c0,0,0.01,0.01,0.01,0.01  c1.31,0.69,2.56,2.01,3.52,3.2c0.64,0.7,1.15,1.37,1.39,1.9c0,0,0,0,0,0c0.23,0.35,0.37,0.58,0.37,0.58s0,0,1.17-0.37  c0.26-0.15,0.54-0.34,0.83-0.63c0.45-0.45,2.34-0.7,4.37-1.02c0,0,0,0,0,0c4.26-1.35,5.34-1.78,5.59-1.91  c0.01-0.02,0.04-0.04,0.05-0.06c0.55-2.21,1.1-5.33,1.15-8.18c-0.02-2.35-0.33-4.59-1.15-5.82c-2-3-5-2-7-5s0-6,3-9  c1.14-1.14,1.3-3.26,1.05-4.87c-0.39-1.25-1.05-2.13-1.05-2.13s-4.54,0-8.83,0.19c-0.57,0.03-1.2,0.07-1.88,0.1c0,0,0,0,0,0  c-0.38,0.02-0.79,0.04-1.22,0.05c-3.89,0.15-8.84,0.19-12.06-0.35c-2.28-0.38-3.41-0.47-4.26-0.66c-4.26-0.66-5.74-3.34-5.74-3.34  c-2.88-1.92-4.37-4.53-5.04-7.06c-0.36-1.08-0.56-2.21-0.45-3.38c-0.01-1.42,0.19-2.67,0.49-3.57c0.27-0.8,0.81-2.3,1.47-4.07  c1.03-3.01,2.26-6.09,3.2-8.47c0.77-2.02,1.32-3.45,1.32-3.45s0,0-1-2c-0.31-0.63-1.22-1.55-2.37-2.55c-2.61-1.9-6-3.82-7.63-5.45  c-0.65-0.33-1.09-1.08-1.39-1.95c-0.76-1.55-0.82-3.09-0.75-4.06l-18.86-0.99c-2,2-7,5-10.94,7.05c-3.94,2.05-5.06-1.05-5.27-0.95  c-0.21,0.11-1.79-6.11-1.79-7.11s-12,0-12,0s0,9-0.47,12.07c0,0,0,0,0,0l-0.03,2.43C1213,682.85,1213.01,683.94,1213.26,685.36z",
        fill:"#022D50",
        text:{
            x:"1080",
            y:"570"
        },
        point:{
            x:"1090",
            y:"580"
        }
    },
    {
        name:"金堂县",
        path:"M1438.5,799.35c0,0-3-7-6-8s-9.88,4.17-5.94-6.41c0,0,1.14-2.54,2.04-5.56c0.9-3.02,0.9-10.02,0.9-10.02  s-5-4-8-3c0,0-1.07-8.57-5.04-10.79s-5.91-1.61-6.44-3.91c-0.52-2.3,2.72-3.72,4.1-5.51c1.38-1.79,2.24-3.65-3.69-3.22  c-5.93,0.43-6.93-0.57-8.93-2.57s-2-10-5-14s-8.01-2.17-10-7.58c-2-5.42-3,0.58-3-10.42s-10.79-10.14-17.39-12.57  c-6.61-2.43-21.11-6.24-25.86-9.34c-4.75-3.09-12.75-7.09-11.75-21.09c0,0-8.74-11.09-18.37-11.54c-9.63-0.46-9.63-0.46-9.63-0.46  s-6.51,4.76-10.25,5.38c-3.75,0.62-18.31,2.28-21.53,3.95c-3.22,1.67-6.22,6.67-6.22,6.67s-0.09,0.38-0.14,0.99l0.14,0.01  c0,0,0,2.26,0.61,4.05c0.32,0.66,0.77,1.33,1.39,1.95c1.37,0.69,5.1,3.26,7.63,5.45c2.19,1.6,3.83,3.18,3.37,4.55  c-0.24,0.73-0.73,1.95-1.32,3.45c-0.94,2.46-2.2,5.78-3.2,8.47c-0.98,2.86-1.78,5.64-1.96,7.64c0,0,0,0,0,0  c0.01,1.06,0.14,2.21,0.45,3.38c1.34,3.96,5.04,7.06,5.04,7.06c3.72,2.48,4.36,3.04,5.74,3.34c0,0,0,0,0,0  c3.91,0.61,11.46,1.15,16.32,1c0.42-0.02,0.83-0.03,1.22-0.05c0.61-0.04,1.25-0.07,1.88-0.1c1.72-0.1,2.83-0.19,2.83-0.19s5,0,6,0  c0.43,0,0.86,0.92,1.05,2.13c0.44,1.41,0.54,3.28-1.05,4.87c-2,2-5,6-3,9s5,2,7,5c0.9,1.34,1.19,3.49,1.15,5.82  c0.03,3.39-0.56,7-1.15,8.18c0,0,0.08,0-0.05,0.06c-0.62,1.05-3.19,1.53-5.59,1.91c-2.75,0.87-4.31,1.37-5.2,1.65  c-0.66,0.37-1.17,0.37-1.17,0.37l1.41,4.7c0.01,0.03,0.02,0.05,0.02,0.05l0,0l1.57,5.24c0,0,0.25,0.64,0.44,1.55l0,0.01  c0,0,0,0,0,0.01c0.32,1.51,0.45,3.75-1.03,5.1c-0.24,0.25-0.42,0.34-0.42,0.34c-1.35,0.9-3.11,1.19-4.63,1.61  c-1.01,0.37-1.87,0.7-2.12,0.87c-0.01,0-0.01,0.01-0.02,0.01c-0.33,0.22-0.7,0.74-1.02,1.27c-0.13,0.35-0.21,0.76-0.21,1.24  l4.83,3.34c1.41,0.74,2.59,1.54,3.9,2.12c0.65,0.23,1.47,0.55,2.53,0.72c1.06,0.14,2.27,0.11,3.74-0.18  c0.61-0.12,1.27-0.27,1.96-0.45c0.85-0.23,1.73-0.47,2.64-0.73c2.74-0.82,5.74-1.91,8.38-3.13c1.92-0.95,3.77-2.06,5.27-3.02  c1.5-1.05,2.57-1.71,3.36-2.29c0.23-0.18,0.92-0.74,1.47-1.42c0.27-0.38,0.5-0.82,0.71-1.38c0.18-1.18,1.66-3.91,3.72-4.96  c0,0,0.01,0,0.01,0c0.76-0.49,1.63-0.85,2.56-1.02c0.95-0.23,1.86-0.24,2.87,0.07c0.02,0,0.04,0.01,0.05,0.02  c0.33,0.08,0.66,0.19,0.99,0.32c0.43,0.17,0.89,0.36,1.36,0.56c1.5,0.61,2.9,1.25,2.9,1.25l0.01,0.01c1.91,0.84,3.93,1.78,5.81,2.66  l0.04,0.02l0.03,0.01c2.23,1.05,4.21,2.02,5.49,2.68l0.04,0.02c0,0,3.56,1.78,5.17,3.05c0,0,0,0,0,0c0.34,0.22,0.61,0.4,0.81,0.52  c0.25,0.14,0.51,0.26,0.8,0.38c0.72,0.24,2.2,0.68,3.97,0.87c0.66,0.05,1.36,0.09,2.09,0.08c1.7-0.06,3.53-0.33,4.96-0.35  c0.74-0.03,1.34,0.02,1.79,0.22c0.13,0.05,0.24,0.11,0.33,0.19c0,0,0,0,0,0c0,0,0.01,0.01,0.01,0.01c0.23,0.19,0.37,0.45,0.37,0.81  c0,0.02-0.01,0.05-0.01,0.07c0.08,1.13-0.61,2.98-1.21,5c-0.12,0.43-0.24,0.87-0.36,1.31c-0.67,2.65-1.04,4.36-1.19,5.21  c-0.2,1.3-0.26,2.43-0.06,3.2c0.07,0.28,0.18,0.57,0.29,0.86c0.72,1.42,6.09,7.85,6.14,7.92c0.01,0.02,0.03,0.03,0.05,0.05  l8.11,8.14c0.51,0.51,1.02,1.02,1.52,1.52c3.6,3.6,6.72,6.72,6.72,6.72s0.02,0.01,0.03,0.02c0.49,0.26,6.72,3.48,13.27,2.81  c1.42-0.22,2.86-0.6,4.23-1.05c0.11-0.05,0.22-0.09,0.33-0.13c3.58-1.6,5.85-2.64,7.4-3.31l0,0c0,0,0.69-0.32,1.49-0.62  c0.67-0.26,1.13-0.42,1.52-0.5c0.17-0.04,0.33-0.07,0.45-0.07c1.29-0.14,5.29-0.14,12.29,0.86s6.89-3.88,6.94-6.44  c0.06-2.56,0-12.95,0-12.95S1448.5,796.35,1438.5,799.35z",
        fill:"#022D50",
        text:{
            x:"1180",
            y:"600"
        },
        point:{
            x:"1190",
            y:"610"
        }
    },
    {
        name:"简阳市",
        path:"M1428,821.85l0.21-2.36c-0.15,0.02-0.3,0.04-0.45,0.07c-0.44,0.1-1,0.3-1.52,0.5  c-0.41,0.16-0.89,0.36-1.49,0.62c0,0-3.5,2.05-7.72,3.44c-1.39,0.58-2.82,0.91-4.23,1.05c-0.2,0.03-0.41,0.07-0.61,0.09  c-5.84,0.72-12.31-2.72-12.66-2.91c-0.02-0.01-0.03-0.02-0.03-0.02s-3.12-3.12-6.72-6.72l-1.51-1.51l-0.02-0.02  c-1.69-1.69-3.41-3.41-4.88-4.88c-1.15-1.15-2.23-2.23-3.23-3.26l-0.04-0.04c0,0,0-0.01-0.01-0.01c-3.02-3.11-5.23-5.66-6.14-7.92  c0,0,0-0.01-0.01-0.01c-0.71-1.42-0.36-3.01-0.29-3.64c0.01-0.1,0.04-0.25,0.06-0.41c0.25-1.6,0.71-3.44,1.19-5.21  c0-0.02,0.01-0.04,0.01-0.05c0.11-0.42,0.23-0.84,0.35-1.26c0.63-2.25,1.19-4.18,1.21-5c-0.03-0.37-0.13-0.67-0.36-0.88  c0,0-0.01-0.01-0.01-0.01c-0.09-0.08-0.21-0.13-0.33-0.19c-0.44-0.18-1.06-0.24-1.79-0.22c-1.3,0.06-2.99,0.34-4.96,0.35  c-0.72,0.03-1.43-0.01-2.09-0.08c-1.54-0.13-2.88-0.41-3.97-0.87c-0.3-0.1-0.48-0.17-0.48-0.17s-0.12-0.08-0.32-0.21  c-0.29-0.16-0.56-0.33-0.81-0.52c-1.1-0.71-2.83-1.79-4.38-2.63c-0.23-0.12-0.52-0.28-0.84-0.44l-5.49-2.68  c-0.02-0.01-0.05-0.02-0.07-0.03l-5.81-2.66c-1.03-0.46-2.01-0.88-2.92-1.26c-0.83-0.34-1.69-0.67-2.36-0.88  c-1.03-0.26-2.01-0.26-2.92-0.09c-0.8,0.19-1.62,0.55-2.56,1.02c-1.76,1.12-3.02,2.88-3.52,4.39c-0.07,0.21-0.14,0.4-0.21,0.58  c0,0,0,0.01,0,0.01c-0.07,0.45-0.36,0.93-0.71,1.37c-0.38,0.53-0.84,0.96-1.47,1.42c-0.01,0.01-0.03,0.02-0.03,0.03  c-0.18,0.14-1.48,1.09-3.32,2.27c-0.18,0.13-0.36,0.25-0.55,0.39c-1.27,0.91-2.91,1.8-4.72,2.63c-0.02,0.01-0.05,0.02-0.07,0.04  c-2.86,1.41-5.69,2.34-8.31,3.1c-0.92,0.27-1.8,0.52-2.64,0.73c-0.41,0.11-0.81,0.22-1.19,0.32c-1.87,0.51-3.33,0.5-4.51,0.31  c-0.94-0.12-1.76-0.38-2.53-0.72c-0.01,0-0.01,0-0.02-0.01c-1.36-0.49-3.89-2.12-3.89-2.12c-3.17-1.66-4.83-3.34-4.83-3.34  l-0.52,0.11c-1.51,1.11-1.48,4.85-1.54,4.48c-0.01,0.18-0.01,0.35-0.02,0.51c0,0.29,0,0.69,0.01,1.16c0,0.1,0,0.27,0,0.5  c0.02,2.22,0.06,5.64,0.05,7.88c0,0.32-0.01,0.63-0.02,0.92c0,0,0,0.01,0,0.01c-0.01,1.99,0.14,3.01,0.35,3.65  c0.19,0.45,0.48,0.91,0.9,1.39c0.04,0.05,0.09,0.11,0.14,0.16c0.12,0.13,0.26,0.27,0.4,0.4c0.09,0.08,0.17,0.16,0.26,0.24  c0.05,0.05,0.11,0.1,0.17,0.14c0.39,0.32,0.81,0.64,1.23,0.96c0.25,0.18,0.51,0.36,0.8,0.54c0.58,0.35,1.22,0.68,2.71,1.7  c0.12,0.08,0.22,0.15,0.33,0.23c0.09,0.06,0.17,0.12,0.26,0.18c1,0.72,1.45,1.15,1.76,1.51c0.02,0.02,0.03,0.04,0.05,0.06  c0.03,0.03,0.06,0.07,0.08,0.1c0.11,0.12,0.2,0.24,0.28,0.36c0.02,0.02,0.03,0.04,0.05,0.06c0.06,0.07,0.09,0.15,0.14,0.22  c0,0.01,0.01,0.01,0.01,0.02c0.16,0.25,0.25,0.5,0.25,0.74c0.05,0.53-0.26,0.77-0.26,0.77c-0.21,0.26-0.93,0.66-1.8,1.08  c-0.7,0.38-1.55,0.78-2.43,1.09c-0.01,0-0.02,0.01-0.03,0.01c-0.33,0.14-0.66,0.23-1,0.29c-0.07,0.02-0.14,0.04-0.21,0.05  c-0.85,0.18-1.94,0.07-3.15-0.18c-0.03-0.01-0.07-0.01-0.09-0.02c-0.16-0.03-0.38-0.08-0.63-0.15c-1.25-0.3-2.6-0.73-3.97-1.16  c-0.48-0.15-0.97-0.3-1.48-0.45c-0.63-0.19-1.25-0.37-1.85-0.52c-0.87-0.2-1.37-0.22-1.76-0.09c0,0,0,0,0,0  c-0.19,0.07-0.35,0.17-0.51,0.31c-0.14,0.15-0.24,0.33-0.31,0.54c-0.2,0.77,0.04,2.06,0.2,3.71c0,0,0,0,0,0  c0.11,0.6,0.21,1.17,0.23,1.61c0.06,1.33,0.01,4.08-0.34,6.49c-0.12,1.19-0.37,2.18-0.7,2.99c-0.04,0.1-0.08,0.19-0.12,0.29  c-0.04,0.09-0.09,0.18-0.13,0.27c-0.01,0.02-0.02,0.04-0.03,0.06c-0.02,0.04-0.04,0.07-0.06,0.11c-0.1,0.19-0.21,0.37-0.32,0.53  c-0.05,0.07-0.09,0.13-0.14,0.2c-0.03,0.03-0.05,0.07-0.08,0.1c-0.24,0.31-0.47,0.53-0.72,0.69c0,0,0,0,0,0  c-0.01,0.01-0.02,0.01-0.03,0.02c-0.05,0.03-0.1,0.06-0.15,0.09c-0.39,0.23-0.73,0.32-1.13,0.41c-0.55,0.15-1.23,0.32-2.14,0.62  c-0.64,0.26-1.34,0.37-1.99,0.4c-0.18,0.01-0.35,0.01-0.52,0.01c-0.05,0-0.1,0-0.15,0c-0.28,0-0.56-0.02-0.83-0.05  c-0.11-0.01-0.22-0.02-0.32-0.04c-0.08-0.01-0.16-0.02-0.24-0.03c-0.29-0.05-0.47-0.09-0.47-0.09s-0.05-0.01-0.11-0.03  c-1-0.21-2.01-0.52-3.15-0.77c-0.75-0.16-1.41-0.42-2.01-0.73c-0.02-0.01-0.04-0.02-0.06-0.02c-0.54-0.24-0.67-0.33-1.19-0.74  c-0.55-0.38-1.07-0.8-1.62-1.21c-2.14-1.57-2.62-1.62-4.6-2.13c0,0,0,0,0,0c-2.66-0.5-5.75-0.57-5.75-0.57s-2,1-5.26,2.44  c-0.84,0.4-2.14,1.11-3.5,2c-1.44,0.97-2.88,2.09-4,3.16c-1.13,1.15-1.73,1.81-2.03,2.7c-0.28,0.84-0.29,1.87-0.21,3.7  c0,0,0.39,1.93,0.67,4.36c0.52,2.82,0.91,5.77-0.78,8.1c-0.01,0.01-0.01,0.02-0.02,0.03c-0.93,1.65-2.27,3.16-3.34,4.38  c-0.64,0.79-1.12,1.38-1.5,1.89c-0.98,1.75-3.02,8.25-4.02,10.25s-2,5-3.46,7.28c-1.11,2.02-7.54,7.72-7.54,7.72  c0-0.01-0.01-0.01-0.01-0.01c-0.1-0.09-0.77-0.72-1.21-0.52c0,0-0.01,0.01-0.02,0.01c-0.01,0-0.01,0.01-0.02,0.01  c-0.09,0.06-0.27,0.29-0.36,1.12c0,0.13,0,0.28,0.02,0.44c0,0.02,0,0.04,0.01,0.07c0,0.01,0,0.01,0,0.02  c0.04,0.33,0.1,0.77,0.19,1.28c0.13,0.64,0.31,1.41,0.57,2.33c0.86,3.08,1.16,4.69,1.09,5.69c0.15,0.65,0.24,1.06,0.24,1.06  s0-0.7,1.78,5.59c0.34,1.2,0.74,2.65,1.22,4.41c3,11,14,3,14,3s12,10,15,13s13,0,16,3s9,13,14,19s6,2,7-3s3,1,10,0s1-7,8-14s4-5,7-5  s5,4,11,5s1-17,3-18s9-2,12-8s8-7,11-5s8,1,14,3s5,2,6,5s3,6,7,5s9-5,16-6s9-18,14-26s5-4,13-4s5-3,6-9s-3-10-1-18  S1428,821.85,1428,821.85z",
        fill:"#022D50",
        text:{
            x:"1140",
            y:"700"
        },
        point:{
            x:"1150",
            y:"710"
        }
    },
    {
        name:"新津县",
        path:"M1135.5,881.35c1-4-1-5,0-9s2-6,3-11s2-2,4-5s1-8,0-12s-6-6-9-9s-3-7-3-8s-4-3-5-3s-4-1-4-1  s-2.58,0.64-5.18,0.84c-0.02,0-0.03,0-0.04,0.01c-4.06,0.63-4.56-0.12-5.46-1.57c-1.77-1.97-3.54-4.73-5.31-8.27  c-1.81-3.62-2.81-4.79-5.21-6.46c-0.73-0.16-1.32,0.31-2.46,1.45c-2,2-4,4-5,7c-0.94,2.81-3.63,5.62-5.61,5.14  c-0.06,0.01-0.12,0.02-0.16,0.04c-0.4,0.15-2.97-0.88-3.47-1.09c-0.03-0.01-0.06-0.01-0.09-0.02c0,0.1,0,0.13,0,0.12  c0,0.01,0-0.03,0-0.12c-1.57-0.27-3.42-0.52-5.57-1.05c-0.14,0-0.29-0.01-0.43-0.01c-2.72,0-2.16,0.82-2.94,0.8  c-2,1.59-3.37,4.82-4.73,6.18c-2,2-1,10-1,12s-6,8-7,10c-0.87,1.74-3.25,5.75,0.1,8.74c0.37,0.2,0.99,0.48,2.54,1.61  c5.5,3.02,7.36,7.65,7.36,7.65s0.2,1.21,0.42,2.72c0.2,0.94,0.31,1.82,0.35,2.58c0.13,1.09,0.23,2.09,0.23,2.71c0,2,0,5,1,6  c0.82,0.82,2.29,4.29,3.36,6.63c0.25,0.5,0.46,0.94,0.64,1.36c0,0,0,0.01,0,0.01c0,0,0,0.01,0,0.01c1.31,3.01,0.98,4.16,0.27,4.3  c0,0,4.72,0.69,6.46-0.38c1.74-1.07,5.26-2.93,7.56-5.71c2.29-2.78,4.71-2.22,7.55-2.13c2.85,0.09,9.15,0.91,10.99,0.52  c1.84-0.39,14.16,0.39,15.56,0.39s8.61,0,8.61,0s0.24-0.97,0.5-2.42C1135.32,882.44,1135.36,881.92,1135.5,881.35z",
        fill:"#022D50",
        text:{
            x:"920",
            y:"720"
        },
        point:{
            x:"930",
            y:"730"
        }
    },
    {
        name:"蒲江县",
        path:"M1043.5,891.35c0,0-8.82,0.55-14.18,0.02c-3.18,0.02-3.82-1.02-3.82-1.02s-1.2-0.48-2.67-1.02  c-0.44-0.04-0.99-0.18-1.77-0.63c-1.01-0.35-1.99-0.65-2.67-0.8c-1.52,0.47-2.45,2.74-3.89,3.46c-2,1-5,0-5,0s0-4-0.76-5.59  c-0.09-0.16-0.19-0.31-0.29-0.45c-1.05-1.04-1.95-1.96-11.48-2.53c-1.54-0.05-3.17-0.08-4.79-0.07c-5.56,0.15-10.18,1.07-12.74,1.68  c-1.81,0.9-3.35,1.43-4.61,1.74c-0.77,0.29-1.68,0.47-2.8,0.38c-1.01,0.01-1.52-0.16-1.52-0.16c-0.23-0.13-0.44-0.22-0.66-0.34  c-0.7-0.25-1.45-0.58-2.28-1.05c-5.84-2.29-8.97-0.46-9.82,0.19c-0.16,0.12-0.25,0.2-0.25,0.2c-2.15,3.87-6.7,6.63-11.35,8.67  c-4.26,2.02-8.51,3.26-11.45,4.22c-0.01,0-0.02,0.01-0.03,0.01c-1.44,0.47-2.36,1.4-2.93,2.52c-0.94,3-0.25,8.58-0.25,8.58h-4  c2,0,3,8,3,8s6,3,6.55,3.88c0.55,0.88,5.45,3.12,5.45,3.12s1,3,1.74,6.72c0.74,3.72-0.74,10.28-1.61,19.74  c-0.87,9.46,0.87,13.54,2.56,18.25c1.7,4.71,8.3,2.29,10.16,2.63c1.85,0.34,4.15,1.66,6.15,1.66s2-3,5-4s3,3,6,2s5-3,7-5  s7-3,8.42-3.28s2.58,1.28,8.27-4.31c5.69-5.59,5.31-9.41,7.31-11.41s3-9,5-12s0-3,8.83-1.72c8.83,1.28,10.18,0.72,15.17-0.77  c4.99-1.49,6.01-8.51,6.01-11.51s3-3,3-3c3,1,6-2,6-2l2-15c0,0-1-4-1-6S1043.5,891.35,1043.5,891.35z",
        fill:"#022D50",
        text:{
            x:"800",
            y:"780"
        },
        point:{
            x:"810",
            y:"790"
        }
    },
    {
        name:"邛崃市",
        path:"M1077.84,888.35c0-0.01-0.01-0.01-0.01-0.02c-0.18-0.37-0.4-0.84-0.64-1.36c-0.46-0.91-1.04-1.95-1.75-3.13  c-3.93-6.48-2.93-9.48-2.93-9.48s0.19-1.09,0.1-2.72c-0.1-0.85-0.23-1.76-0.35-2.58c-0.56-2.6-1.91-5.7-5.04-8.24  c-1.16-0.94-2.04-1.62-2.75-2.13c-0.21-0.12-0.42-0.24-0.64-0.35c-0.78-0.39-1.4-0.82-1.9-1.26c-0.43-0.24-0.53-0.38-1.43-1.72  c-2-3,0-7,0-7s0.01-1.08-0.92-2.77c-1.25-1.64-3.03-3.7-5.08-5.23c-0.96-0.72-1.75-1.33-2.45-1.8c0,0-2.81-1.2-3.68-1.2  c-0.8,0.1-1.71,0.42-2.87,1c-1.2,0.6-1.76,1.11-2,1.61c0,1.39,1,1.4,0,4.39c-1,3,0.78,4.2-1.11,5.1l0,0  c-0.33,0.56-0.88,0.9-1.89,0.9c0,0-7.95,0-11.97,0c-0.01,0-0.02,0-0.03,0c0,0-14,1-17-3c-2.36-2.36-4.09-6.55-5.21-9.22  c-0.5-1.05-1.39-2.55-2.64-3.39c-0.07-0.04-0.13-0.09-0.2-0.13c-0.74-0.47-2.02-1.19-3.4-1.95c-1.3-0.71-2.67-1.44-3.96-2.18  c-1.13-0.63-1.91-1.07-1.83-1.08c0,0,0,0,0,0c-1.13-0.71-2.11-1.4-2.76-2.05c-1.12-1.12-2.24-1.4-3.41-1.37  c-0.04,0-0.08,0-0.12,0.01c-0.01,0-0.03,0-0.04,0c-2.44,0.36-4.44,1.36-6.44,0.36c-0.79-0.2-1.37-0.39-1.84-0.61  c-0.5-0.1-0.81-0.19-1.29-0.98c-0.18-0.23-0.32-0.48-0.46-0.76c-0.47-0.79-1.01-1.77-1.46-2.73c-0.48-0.74-0.72-1.55-0.81-2.38  c0,0,0,0,0-0.01c0-0.01,0-0.03,0-0.04c-0.11-1.12,0.05-2.28,0.26-3.43c0.25-2.01,0.6-4.06,0.6-4.06c0-2.23-2.21-2.8-4.58-3.36  c-0.21-0.05-6.94-1.6-6.7-1.62c-0.07-0.01-0.13-0.02-0.2-0.04c-1.28-0.18-8.82-1.08-11.53-1.98c-5-1-5,0-8,1  c-0.96,0.32-2.03,0.54-3.07,0.69c0,0-0.01,0-0.01,0s-0.01,0-0.01,0c-1.32,0.19-2.59,0.26-3.53,0.29c-1.7,0.2-3.38,0.53-3.38,1.02  c0,0.77,0.59,3.95-0.53,6.27c0,0.01-0.01,0.02-0.01,0.03c0,0,0,0,0,0.01c-0.33,0.66-0.79,1.26-1.45,1.7  c-0.13,0.13-0.36,0.28-0.64,0.44c-1.65,1.21,1.55-0.35,0.64,0.56c-0.52,0.52-1.84,0.5-3.28,0.64c-1.83,0.73-3.72,1.36-3.72,1.36  c-0.89,0.89-3.18,1.38-5.7,1.66c-2.1,0.46-4.32,0.73-5.78,0.32c-1.02,0.02-1.9,0.02-2.52,0.02c-2.08,0-2.24-1.45-2.81-3  c-1.19-2-5.19-3-7.19-3c-0.75,0-2.47,1.53-4.2,3.26c-0.02,0.02-0.05,0.05-0.07,0.07c0,0,0,0,0,0c-1.69,1.69-3.36,3.54-4.11,4.3  c-1.17,1.9-4.93,7.71-9.32,11.18c-5.3,4.19-5.22,14.02-5.26,20.61c-0.04,6.59-1.04,30.59-1.04,30.59s-8.97-0.3-14.99,9.35  c0,0-4.45,7.61-4.73,19.13c0,0-0.38,4.54,1.17,7.53c1.55,2.99,5.8,5.15,5.67,5.07s4.53,2.8,7.2,2.86  c2.67,0.06,11.23,1.32,14.45,0.69c3.22-0.63,2.96-2.78,4.59-5.21c1.63-2.42,8.63-11.42,8.63-11.42s3.87,3.86,9.43,3.93  c5.57,0.07,5.57,0.07,5.57,0.07s0.13-2.43,1.07-3.22c0.93-0.78,4.5-3.45,4.72-3.12s6.21-0.67,6.21-0.67c-0.25,0-0.38,0-0.4,0  c0.03,0,0.15,0,0.4,0h4c0,0-1.48-5.19,0.25-8.58c0.18-0.59,0.43-1.09,0.75-1.42c0.33-0.33,1.1-0.69,2.17-1.09  c0.01,0,0.01,0,0.01-0.01c0.01,0,0.01,0,0.02-0.01c2.63-1,7.08-2.3,11.45-4.22c4.18-1.98,8.38-4.71,11.35-8.67  c0,0,0.09-0.08,0.25-0.2c0.95-0.74,4.65-3.13,9.78-0.21c0.01,0.01,0.02,0.01,0.04,0.02c0.72,0.28,1.48,0.64,2.28,1.05  c0.8,0.28,1.53,0.44,2.18,0.49c0.7-0.01,1.63-0.1,2.8-0.38c1.18-0.44,2.05-1.09,2.83-1.3c0.36-0.09,0.98-0.26,1.78-0.45  c0.02-0.01,0.04-0.02,0.07-0.03c2.49-1.25,7.58-1.63,12.68-1.65c1.54-0.04,3.14-0.03,4.79,0.07c0,0,0,0,0,0  c5.25,0.17,9.53,0.58,9.53,0.58s1.08,0.73,1.95,1.96c0,0,0,0,0,0c0.11,0.11,0.21,0.27,0.29,0.45c0.43,0.73,0.76,1.61,0.76,2.59  c0,3,0,3,0,3h5c0,0,1.73-3.92,3.87-3.46c0.01,0,0.01,0,0.02,0c0.59-0.18,1.27-0.1,2.11,0.46c0.2,0.13,0.38,0.25,0.56,0.35  c0.6,0.2,1.2,0.42,1.77,0.63c0.93,0.09,1.4-0.25,2.67,1.02c0.51,0.51,1.96,0.83,3.82,1.02c0,0,0,0,0,0  c3.18-0.02,14.18-0.02,14.18-0.02s5,2,5,4s1,6,1,6s0.79,0,3.9,0s9.84,1,10.97,0s4.13-1,4.13-1s1-6,5-7s3.63-0.52,4.61-0.71  C1078.11,892.64,1078.83,890.34,1077.84,888.35z",
        fill:"#022D50",
        text:{
            x:"750",
            y:"720"
        },
        point:{
            x:"760",
            y:"730"
        }
    },
    {
        name:"大邑县",
        path:"M898.23,817.68c0.02-0.02,0.05-0.05,0.07-0.07c0.76-0.76,2.26-3.26,4.2-3.26c2,0,4-1,6,1  c0.61,0.61,0.94,1.32,1.19,2c0,0,0,0,0,0c1.19,2,1.81,2,5.33,2.98c0,0,0,0,0,0c1.71-0.03,3.81-0.11,5.78-0.32  c2.97-0.65,5.7-1.66,5.7-1.66c0.96-0.96,2.39-1.23,3.72-1.36c1-0.4,1.98-0.83,2.64-1.2c0.17-0.12,0.36-0.26,0.64-0.44  c1-1,1-1,1.45-1.7c0.01-0.01,0.01-0.02,0.02-0.03c0.44-0.77,0.53-5.28,0.53-6.27c0-1,1-1,2-1c0.27,0,0.76,0,1.38-0.02  c1.73-0.21,3.47-0.29,3.53-0.29c0.01,0,0.01,0,0.02,0c0.11-0.02,3.1-0.7,4.97-1.69c1.9-1,3.1-1,6.1,0c3.3,0.66,7.91,1.32,11.53,1.98  c0.14,0.02,0.23,0.03,0.2,0.04c0,0,0,0,0,0c1.77,0.33,3.29,0.65,4.27,0.98c0.77,0.26,1.61,0.45,2.42,0.64c0,0,0.02,0,0.02,0  c5.44,0.64,4.56,3.36,4.56,3.36c0,1.23-0.34,2.63-0.6,4.06c-0.18,1.4-0.31,2.78-0.26,3.43c0,0.02,0,0.03,0,0.05  c0.06,0.63,0.39,1.49,0.81,2.38c0.02,0.02,0.03,0.05,0.04,0.07c0.76,1.13,1.08,1.98,1.41,2.65c0.17,0.28,0.32,0.55,0.46,0.76  c0,0,0,0,0,0c0.29,0.38,0.67,0.69,1.29,0.98c0.41,0.08,0.94,0.16,1.84,0.61c2.44,0.61,4.51-0.27,6.44-0.36c0,0,0,0,0.01,0  c0.01,0,0.02,0,0.03,0c0.04,0,0.08-0.01,0.12-0.01c2.33-0.27,3.41,1.37,3.41,1.37s2.98,1.98,2.76,2.05  c0.58,0.36,1.19,0.72,1.83,1.09c1.12,0.62,2.58,1.41,3.96,2.18c1.27,0.69,2.45,1.35,3.4,1.95c0.04,0.03,0.1,0.06,0.13,0.08  c0.02,0.02,0.04,0.03,0.07,0.05c0.94,0.61,1.63,1.16,1.85,1.61c0.21,0.43,0.48,1.05,0.79,1.78c0.32,0.66,0.48,1.14,0.48,1.14  s1.73,4.08,4.73,8.08c3,3,13,3,17,3c0.01,0,0.02,0,0.03,0c0.71,0,12.02-0.03,13.85-0.9c0.66-1.11,0.45-3.1,1.11-5.1  c0.7-2.1-0.55-3.22,0-4.39c0,0,0-0.01,0-0.01c0-1.4,4-2.6,4.87-2.6c0,0,0,0,0,0c1.3-0.16,2.32,0.27,3.68,1.2l0,0  c4.43,2.69,6.52,5.22,7.53,7.03c1.2,1.57,1.92,2.77,1.92,2.77l7-10c0,0-1-7.12,0-9.56s4.57-8.89,5.78-8.67  c0.11,0.02,0.2,0.03,0.28,0.03c0.93-0.74,2-1.13,3.27-0.82c0.03,0.01,0.06,0.01,0.1,0.02c2.85,0.09,5.57,0.99,5.57,0.99  s-0.92-4.37-1.46-6.18c0-0.01-0.01-0.02-0.01-0.03c-0.23-0.43-0.4-0.86-0.48-1.33c-0.51-1.24-1.18-2.32-1.98-3.23  c-0.78-0.68-1.69-1.44-2.51-2.46c-2.23-2.1-5.13-4.72-5.7-5.13c-1.05-0.66-1.96-1.16-2.46-1.42c-0.39-0.14-0.82-0.24-1.28-0.3  c-2.13-0.06-4.5,1.08-6.51,2.39c0,0,0,0,0,0c-2.61,2.18-5.86,5.09-8.6,7.59c-1.8,1.73-3.89,3.7-5.61,5.19c0,0-0.02,0.02-0.02,0.02  s-0.87,0.97-2.09,1.69c-0.1,0.07-0.21,0.16-0.3,0.22c-3,2-5-1-5-1l-1-6c0,0-9.95,1.33-15.26,1.28c-1.33,0-2.33-0.07-2.74-0.28  c-2.12-0.71-3.24-3.4-3.71-4.93c-0.18-0.46-0.29-0.85-0.29-1.07c0-1-1-10,0-13c0.53-1.6,1.35-2.34,2.15-2.99  c0.51-0.6,1.12-1.27,1.85-2.01c0.99-1.99,1-2.99,1-5.95c-0.41-1.75-1.07-3.18-1.05-3.47c-0.38-0.82-0.84-1.67-1.33-2.53  c-1.24-2.07-3-4.82-3.62-6.06c-0.92-1.84-0.16-7.05-1.57-13.32c-0.61-1.58-0.93-2.83-1.33-3.91c-0.77-1.46-1.83-2.7-3.05-3.76  c-3.06-2.03-4.57-3.53-12.29-5.27c0,0-0.01,0-0.01,0c-3.6-0.74-8.54-1.87-12.12-3.12c-0.03-0.01-0.05-0.01-0.05-0.01  s-0.01-0.01-0.02-0.01c-1.34-0.47-2.47-0.95-3.28-1.44c-0.8-0.37-1.61-0.75-2.26-1.1c-1.93-0.59-3.85-0.41-5.78-0.76c0,0,0,0,0,0  c0,0,0,0,0,0c-0.15-0.03-0.3-0.06-0.45-0.09c-1.49-0.28-4.57-0.59-4.81-0.61c-1.51,0.11-2.89,0.4-3.98,0.4  c-0.34,0-0.74-0.03-1.17-0.08c-0.01,0-0.02,0-0.03,0c-1.8,0.08-4.8-0.92-6.8-0.92c-1.38,0-4.69,3.35-7.58,5.75c0,0,0,0,0,0  c-0.55,0.49-1.44,1.25-2.39,1.75c-0.37,0.22-0.71,0.4-1.02,0.5c-1.06,0.35-1.74-0.05-2.23-0.8c0,0,0-0.01-0.01-0.01  c-0.06-0.09-0.12-0.19-0.17-0.3c-0.09-0.16-0.18-0.35-0.25-0.56c-0.04-0.11-0.08-0.21-0.12-0.33c0,0,0,0,0,0c0,0,0,0,0,0  c-0.11-0.31-0.2-0.63-0.29-0.95c-0.46-1.48-0.85-2.67-1.14-3.53c-0.77-1.68-0.77-2.6-0.77-3.52c0,0-0.22-0.21-0.65-0.04  c-0.67,0.5-1.71,1.77-2.35,3.04c-1,2,0,5-7,5c0,0-0.79,0.04-1.8-0.06c-3.38-0.24-4.16-1.26-4.58-3.29c-0.3-1.31-0.45-2.78-0.71-3.95  c-0.25-0.95-0.73-1.66-1.33-2.2c-1.59-0.52-2.38-1.86-8.95-1.18c-1.37,0.18-3.19,0.41-5.08,0.65c-5.57,0.78-11.32,1.65-13.14,0.52  l0,0c0,0-4.77-0.02-7.59-4.25c-0.09-0.14-0.2-0.27-0.29-0.41c-1.57-1.27-3.25-2.55-4.52-3.82c-0.96-0.96-1.93-1.23-2.78-1.7  c0,0-0.24-0.06-0.59-0.39c-0.66-0.51-1.23-1.31-1.63-2.92c-1-3-5-8-5-8s-6-2-7-2s-2.2-0.41-2.2-0.41s-10.22-0.93-19.01,0.24  c-8.79,1.17-2.97,4.91-0.88,5.54c2.09,0.63,11.62,8.94,13.86,11.78c2.23,2.85,8.75,3.75,12.49,11.8c3.74,8.05,5.74,7.05,4.74,10.05  s-3.33,19.59-3.67,21.8c-0.33,2.2-1.84,8.77-1.09,12.49c0.75,3.72,10.75,2.72,9.75,3.72s5.26,0.77,7.13,6.89  c1.87,6.11,4.67,6.88,5.77,8c1.1,1.12,5.1,7.12,4.1,12.12c0,0,0.43,5.36-2.29,9.18c-0.69,0.98-0.62,0.98-0.09,0.45  c0.24-0.39,0.38-0.63,0.38-0.63S897.5,818.36,898.23,817.68z",
        fill:"#022D50",
        text:{
            x:"780",
            y:"650"
        },
        point:{
            x:"790",
            y:"640"
        }
    },
    {
        name:"崇州市",
        path:"M879.13,721.27c0.19,0.15,0.39,0.27,0.59,0.39h0c0,0,4.46,1.59,7.3,5.52c0.89,0.73,1.75,1.45,2.48,2.18  c1.17,1.17,3.38,2,5.4,2.48l0,0l0,0c1.43,0.34,2.77,0.52,3.6,0.52c1.02,0,5.46-0.52,9.55-1.04c1.76-0.25,3.49-0.49,5.08-0.65  c0,0,0,0,0,0c1.43-0.19,2.37-0.31,2.37-0.31s4.23-0.59,6.58,1.49c0.01,0,0.03,0.01,0.04,0.01c0.69,0.22,1.04,1.07,1.29,2.19  c0.03,0.1,0.07,0.2,0.09,0.31c0.29,1.47,0.42,2.67,0.62,3.65c0.08,0.34,0.17,0.68,0.27,0.99c0.55,1.61,2.71,2.14,4.31,2.3  c0.54,0.04,1.12,0.06,1.8,0.06c7-1,5-1,7-5c1.07-2.14,1.85-2.84,2.35-3.04c0.39-0.29,0.65-0.33,0.65,0.04l0.17,1.8  c0,0,0.23,0.6,0.61,1.72c0.07,0.16,0.14,0.31,0.23,0.48c0.38,0.75,0.61,1.93,0.92,3.05c0.1,0.31,0.19,0.62,0.29,0.95c0,0,0,0,0,0  c0.04,0.12,0.08,0.22,0.12,0.33c0.08,0.2,0.16,0.38,0.25,0.56c0.06,0.1,0.11,0.21,0.17,0.3c0,0,0,0.01,0.01,0.01  c0.84,1.15,2.09,0.92,3.25,0.3c0.73-0.43,1.54-1.04,2.4-1.75c1.42-1.25,5.58-5.75,7.58-5.75c1.66,0,4.7,0.69,6.83,0.92  c1.81-0.08,5.12-0.32,5.12-0.32s0.02,0,0.03,0c1.28-0.09,2.65-0.06,4.02,0.4c0.26,0.09,0.52,0.15,0.78,0.21  c0.17,0.03,0.33,0.06,0.45,0.09c0,0,0,0,0,0c1.24,0.31,3.76-0.31,5.78,0.76c0,0,0,0,0,0c0.66,0.2,1.32,0.49,1.98,0.93  c0.08,0.05,0.18,0.11,0.28,0.16c1.6,0.73,3.14,1.38,3.28,1.44c0.02,0.01,0.05,0.02,0.07,0.02c0.47,0.15,4.81,1.47,12.12,3.12  c0.44,0.09,0.86,0.18,1.25,0.26c3.24,0.65,7.73,2.15,11.05,5.02c0.02,0.01,0.03,0.02,0.05,0.03c1.76,1.17,2.46,2.29,3,3.73  c0.37,0.69,0.68,1.43,0.91,2.22c0.16,0.57,0.3,1.13,0.43,1.68c0,0.01,0.01,0.02,0.01,0.03c1.43,3.71,0.57,11.29,1.57,13.29  c0.53,1.06,2.18,3.53,3.62,6.06c0.77,1.28,1.35,2.3,1.32,2.52c0,0,0,0.01,0,0.01c0.62,1.33,1.05,2.54,1.05,3.42  c0,0.02,0,0.03,0,0.05c0.46,1.98,0.59,4.36-1,5.95c-0.47,0.94-1.15,1.43-1.85,2.01c-1.57,1.85-2.15,2.99-2.15,2.99v13  c0,0,0.09,0.44,0.29,1.07c0.62,1.59,2.16,4.15,3.71,4.93c0.56,0.19,1.53,0.27,2.74,0.28c5.15-0.02,15.26-1.28,15.26-1.28l1,6  c1.67,2.22,3.76,1.69,5.3,0.78c0.57-0.41,1.29-1,2.11-1.71c0.11-0.11,2.53-2.38,5.61-5.19c2.22-2.13,3.97-3.89,3.97-3.89  s2-1.99,4.62-3.7c2.61-2.18,4.81-2.61,6.51-2.39c0.29,0.01,0.59,0.03,0.87,0.09c0,0,0.16,0.08,0.41,0.21  c1.25,0.44,2.1,1.16,2.46,1.42c0,0,0,0,0,0c1.83,1.15,4.06,2.75,5.13,4.37c0.18,0.27,0.37,0.53,0.57,0.77  c1.16,1.09,2.14,2.04,2.51,2.46h0c1.08,0.94,1.92,1.72,1.92,2.77c0,0.16,0.03,0.3,0.05,0.45c0.18,0.43,0.34,0.87,0.48,1.33  c0.59,1.11,1.47,2.22,1.47,4.21c0,1.19,0,1.75,0,2c0,0.01,0,0.03,0,0.04c0,0,0.04,0.02,0.09,0.04c1.27,0.22,2.36,0.47,3.24,0.91  c0.13,0.06,0.26,0.11,0.39,0.14c0.56-0.09,1.84-0.02,3.47-1.97c1.81-2.16,2.29-4.64,2.55-4.9s1.05-2.02,3.15-4.14  s2.49-3.12,3.3-2.62c0,0-0.17-0.22-0.38-0.69c-0.34-0.46-0.54-1.45-0.66-2.59c-0.06-0.5-0.11-1.04-0.12-1.68v0  c-0.02-0.56-0.04-1.11-0.04-1.61c-0.1-2.11-0.38-2.69-1.11-4.6c-0.28-0.56-0.59-1.16-0.91-1.74c-1.08-1.74-2.51-3.58-2.71-6.15  l-2.68-9.43l-1.72-2.63c-0.93-1.03-1.9-2.44-2.86-4.37c-3-6-8-19-8-19s-0.73-1.7-1.63-4.21l0,0c0,0,0,0,0,0  c-1.22-3.38-2.76-8.22-3.29-12.37c-0.13-0.87-0.2-1.65-0.18-2.28c-0.01-0.27-0.01-0.54,0-0.81c-0.02-1.14-0.16-2.03-0.34-2.7  c-0.21-0.57-0.51-1.24-0.88-1.86l-4.62-3.72c-0.25,0.04-0.51,0.07-0.79,0.09c-0.89,0.11-2.56,0.19-4.82-0.33c0,0,0,0-0.01,0  c-1.47-0.22-2.99-0.5-4.44-0.79c-1.03-0.21-2.39-0.33-3.94-0.41l0,0c-1.06,0.41-11.13-0.39-11.13-0.39s-0.26-0.01-0.68-0.05  c-2.37-0.19-4.31-0.52-5.26-1.15c-0.78-0.39-2.07-1.49-3.41-2.78c-1.28-1.2-2.57-2.56-3.6-3.88c-0.55-0.68-0.97-1.26-1.16-1.64  c0-0.01-0.01-0.02-0.01-0.03c-0.37-0.6-0.66-1.17-0.83-1.67c-0.43-1.28-0.67-2.37-1.28-3.44c-0.1-0.18-0.21-0.35-0.33-0.53  c-0.01-0.01-0.01-0.01-0.01-0.02c-0.12-0.17-0.25-0.33-0.38-0.5c-0.92-1.09-2.39-2.21-5-3.51c-0.27-0.14-0.53-0.26-0.78-0.38  c-0.97-0.28-1.64-0.66-2.77-1.13c-2.7-0.92-4.83-1.13-8.26-2.11c-0.01,0-0.01,0-0.01,0c-8.17-1.39-10.92-5.69-11.55-7.04  c0,0,0,0,0,0c-0.81-1.32-1.37-2.51-2.62-3.35c-0.64-0.43-1.82-0.77-3.33-1.08c-0.16-0.03-2.41-0.4-4.32-0.7  c-0.87-0.12-1.76-0.24-2.67-0.37c0,0,0,0,0,0c0.07,0.03-0.33-0.03-1.01-0.14c-2.91-0.41-5.88-0.86-8.29-1.49c-0.01,0-0.02,0-0.02,0  s-0.01,0-0.01,0c-1.32-0.35-2.47-0.74-3.35-1.22c-0.81-0.44-1.33-0.7-1.59-0.86c-0.12-0.05-0.2-0.08-0.22-0.09  c-0.19-0.05-9.19,1.95-15.19,8.95s-7.81,11.91-11.41,11.45c-3.59-0.45-16.02-6.45-18.31-6.95s-9.42-4.49-13.35-4.49  s-14.94-0.01-16.94,0.99s-4.21,7.36-8.6,10.68c-4.4,3.32-7.31,5.27-11.85,3.79c-4.54-1.48-1.54,1.52-1.54,1.52s4,4,5,8  C878.06,720.02,878.69,720.86,879.13,721.27z",
        fill:"#022D50",
        text:{
            x:"790",
            y:"580"
        },
        point:{
            x:"800",
            y:"590"
        }
    },
    {
        name:"都江堰市",
        path:"M1087.62,633.17c-0.44-1.55-1.35-2.74-3.15-2.64c-0.25,0.04-0.49,0.07-0.72,0.1c-5.75,1.28-4.25-6.28-4.25-6.28  l-3.2-9.66c-0.29-0.43-0.59-0.92-0.87-1.42c-1.1-1.54-1.29-2.58-1.08-3.29c0.02-0.23,0.05-0.44,0.14-0.62c0.35-0.7,1.08-0.91,2-0.88  h0h0c1.7,0.05,4.05,0.88,5.99,0.88c0.79,0,1.57-0.47,2.12-1.16c0.76-1.26,0.54-3.19-0.12-3.84c-1-1-10-9-10-9  c-0.37-0.75-0.57-1.81-0.66-3.07l0,0c0,0,0,0,0,0c-0.34-5.15,1.25-13.56,0.77-17.26c-0.51-1.86-1.53-2.04-2.77-3.24  c-3.83-1.89-10.35-2.43-10.35-2.43s-3.03-0.51-4.07-4.76c-0.1-0.35-0.16-0.7-0.2-1.05c-0.23-1.59-0.2-3.61,0.27-6.19  c0-1.32,0.5-3.07,1.28-5c2.24-6.8,5.87-11.17,7.89-13.85c0.3-0.42,0.58-0.81,0.83-1.15c2-3-2-8-2-8s0-6,0-8  c0-0.07-0.01-0.15-0.02-0.22c-0.36-2.41-5.98-11.78-5.98-11.78s1-6-2-8s-6,2-6,2l-5,2c0,0-5,2-15.84,2.52  c-10.84,0.52-9.16,8.48-10.04,14.61s2.88,16.88,3.51,28.02c0.63,11.14-3.54,21.69-3.54,21.69s-5.08,16.17-8.31,20.65  c-3.22,4.49-6.78,11.51-9.78,21.51s8,18,8,18c2,8-3,9-8,14s-10,4-12,16s-5,13-11.02,18.73c-5.08,4.84-11.01,2.55-9.57,3.41  c0.97,0.39,4.85,2.04,4.94,2.08c0.01,0,0.02,0.01,0.03,0.01c0.35,0.06,5.95,1.1,8.29,1.49c0.34,0.05,0.67,0.09,1.01,0.14  c-0.14-0.06,1.16,0.13,2.67,0.37c1.59,0.22,3.07,0.45,4.32,0.7c0.01,0,0.03,0,0.03,0c3.7-0.07,5.3,3.07,5.92,4.42  c1.12,1.83,2.73,3.91,7.38,5.65c1.61,0.61,2.98,1.04,4.18,1.39c4.58,0.78,6.8,1.51,8.26,2.11c0.85,0.29,1.75,0.65,2.77,1.13  c0.01,0,0.01,0,0.02,0.01c2.05,0.58,4.33,2.09,5.76,3.88c0.14,0.17,0.27,0.33,0.38,0.5c0,0,0,0,0,0c0,0.01,0.01,0.01,0.01,0.02  c0.12,0.18,0.23,0.35,0.33,0.53c1.07,1.81,1.35,3.58,2.11,5.11c0.33,0.53,0.72,1.09,1.17,1.66c0.94,1.16,2.29,2.61,3.6,3.88  c1.21,1.13,2.42,2.12,3.41,2.78c1.49,0.74,4.05,1.05,5.26,1.15c3.6,0.29,8.2,0.25,11.8,0.44c1.06-0.41,4.93,0.4,8.37,1.2  c1.79,0.26,3.48,0.42,4.82,0.34c0.47-0.06,0.74-0.13,0.74-0.13l0.05,0.04c0.96-0.15,1.66-0.47,1.95-1.04  c0.52-1.04,1.57-2.87,2.33-4.55c0.28-2.23,0.44-3.2,0.53-3.59c-1.24-1.17-5.9-4.98-6.86-7.87c-0.22-0.66-0.34-1.36-0.4-2.07  c-0.09-0.58-0.11-1.19-0.03-1.79c0.08-1.76,0.43-3.15,0.43-3.15s-4-9-5-13c-0.01-0.04-0.02-0.08-0.03-0.12  c-0.21-0.73-0.32-1.27-0.27-1.49c-0.11-1.15,0.13-1.95,0.92-2.47l0-0.01c0,0,0.03-0.01,0.03-0.01c1.04-0.67,3.01-0.91,6.35-0.91  c6.78,0,12.61-8.44,13.88-12.6c0.01-0.02,0.01-0.04,0.02-0.07c0.19-1.23,0.27-2.52,0.28-3.82c-0.18-4.02-1.15-9.74-1.35-13.45  c-0.26-1.92-0.38-3.64,1.03-4.19c0.37-0.2,0.81-0.24,1.26-0.18c0.77,0.02,1.76,0.21,3.03,0.61l0.98-4.8  C1087.31,641.08,1087.98,636.21,1087.62,633.17z",
        fill:"#022D50",
        text:{
            x:"860",
            y:"500"
        },
        point:{
            x:"870",
            y:"510"
        }
    },
    {
        name:"彭州市",
        path:"M1065.5,521.35c0,2,0,8,0,8s5,4,2,8c-0.23,0.34-0.51,0.73-0.83,1.15c-2.34,3.31-5.98,9.11-7.89,13.85  c-0.51,1.54-0.95,3.2-1.28,5c0,2.42-0.46,4.36-0.27,6.19c0.05,0.37,0.12,0.72,0.2,1.05c0.43,1.56,1.53,3.07,4.07,4.76  c0,0,7.69-0.13,10.35,2.43l0,0c1.37,0.67,2.39,1.52,2.65,2.57c0.05,0.2,0.08,0.43,0.11,0.67c0.58,2.15,0.49,6.52-0.77,17.26  c0,0,0,0,0,0l0.66,3.07c0,0,8,7,10,9c1.21,1.21,0.95,2.79,0.12,3.84c-0.4,0.67-1.08,1.16-2.12,1.16c-2,0-5.99-0.88-5.99-0.88  c0,0,0,0,0,0c0,0-1.76,0.18-2.15,1.5c-0.06,0.92,0.45,2.15,1.08,3.29c0.2,0.28,0.43,0.57,0.69,0.88l0.18,0.54  c0.64,0.97,1.2,1.66,1.2,1.66s2,2,2,8c0,5.22,0.76,6.65,4.25,6.28c0,0,0,0,0,0c0.26-0.06,0.49-0.08,0.72-0.1  c0.32-0.05,0.66-0.11,1.03-0.18c1.28-0.26,1.9,0.93,2.12,2.82c0.74,2.65,0.1,6.34,0.1,6.34l-1.1,5.35c-0.38,2.12-0.76,3.88-0.97,4.8  c1.38,0.44,2.93,1.01,4.56,1.66l1.43,0.52c0,0,12.86,4.51,17.86,8.51c0,0,13,1,18,4c3.17,1.06,5.58,2.99,7.35,5.21  c0.06,0.06,0.11,0.1,0.14,0.13c0.32-0.23,18.55-13.36,22.51-15.34c2.89-1.44,6.29-3.92,9.1-5.2l0,0c0,0,0.55-0.39,1.52-0.58  c0.49-0.14,0.96-0.23,1.38-0.23c2.13,0,4.77,1.52,6.83,4.19h0c5.67,6.31,7.42,8.52,7.42,8.52l5.5,0.3c1.67,0.02,3.82,0.09,5.82,0.32  h0c0,0,3.75-0.78,5.79,2c2.08,1.67,5.63,1.68,5.63,1.68s6.17-19.13,5.08-25.56c-1.08-6.44-9.08-6.44-9.08-6.44  s-9.91-12.8-13.96-13.9s-4.27-0.57-5.66-2.33s2.47-1.47,1.54-4.61c-0.93-3.15-0.59-4.69-6.76-8.92c0,0-3.73-0.86-7.95-2.54  c-4.22-1.68-8.22-13.68-10.22-24.68c0,0-1-8-14-19l-8-10c0,0-4-20-12-28c0,0,9-9,9-15s-3-15-9-19s-12-2-16-2s-17.56-5-21.78-6.5  c-4.22-1.5-10.22,1.5-8.22,8.5c0,0-2.93,5.15-14.97,8.07s-11.03,4.93-7.03,6.93s2,9,2,9s5.78,7.72,5.98,11.78  C1065.5,521.21,1065.5,521.29,1065.5,521.35z",
        fill:"#022D50",
        text:{
            x:"930",
            y:"450"
        },
        point:{
            x:"940",
            y:"460"
        }
    }]; 






@inject('chartStore') 
@observer


class VectorMap extends Component {
    constructor(props) {
        super(props);
        this.state = {
            params: [],
            data: [],
            forceFit: true, //forceFit自动试用宽度，默认false
            width: this.props.data.width ? this.props.data.width : '100%',   // 固定宽度    当自适应宽度开启，此功能失效
            height: this.props.data.height ? this.props.data.height - 5 : '100%',
            condition: this.props.data.condition ? this.props.data.condition : '',
            pageFlag: this.props.data.pageFlag ? this.props.data.pageFlag : '',
            nofirst: this.props.data.nofirst ? this.props.data.nofirst : '',
            color: this.props.data.color,
            title: '',
            chartId: this.props.data.chartId,
            id: this.props.data.componentId,
            chartData: [],
            axisArr: {},
            haveData: false,

            // 地图数据
            mapData: {
                area: '',
                data: []
            },

            dataNull: false, // 暂无数据

            // 全局变量
            mainData: [], // 操作组件可操作数据
            mainName: '', // 操作组件可操作当前维度
            mainFlag: false, // 是否是操作组件
        };
    };


    componentWillMount() { //初始化
        const _this = this;
        
        // 预览界面
        if (_this.state.pageFlag == 'preview') {
            // 判断当前组件是否是可操作组件
            const { globalData } = _this.props.chartStore;
            if (globalData.slice().length > 0) {
                globalData.slice().map((item,index) => {
                    if (item.affect == _this.state.chartId) { // 可操作组件
                        let affectName = item.affectDimension;
                        _this.setState({
                            mainFlag: true,
                            mainName: affectName
                        })
                    }
                })
            }

            _this.interfaceRequest(_this.state.chartId,_this.state.condition);
        } else { // 配置面板
            if (_this.state.nofirst == 'nofirst') {
                _this.saveHandleData();
            } else {
                _this.interfaceRequest(_this.state.chartId,_this.state.condition);
            }
        }
    }

    // 钩子函数--组件挂载完成后
    componentDidMount() { //初始化
        this.setState({
            haveData: true
        })
    }
    // 接收父组件的数据改变
    componentWillReceiveProps = (nextProps) => {
        const _this = this;
        const { globalData } = _this.props.chartStore;

        // 预览界面---判断是否是变化组件
        if (nextProps.data.pageFlag == 'preview') {
            if (nextProps.data.condition != this.props.data.condition && globalData.slice().length > 0) {
                globalData.slice().map((item,index) => {
                    if (item.affectFlag && item.require == nextProps.data.chartId) { // 联动组件
                        let key = item.requireDimension;
                        let condition = {};
                        Object.keys(nextProps.data.condition).forEach(function(keys){
                            condition[key] = nextProps.data.condition[keys];
                        })
                        _this.interfaceRequest(nextProps.data.chartId,condition);
                    }
                })
            }
        }
    }

    // 数据接口请求
    interfaceRequest = (chartId,condition) => {
        let data = {
            charId: chartId,
            condition: condition
        };
        this.getMediaById(data);
    }
    
    // 数据存储刷新
    saveHandleData = () => {
        const { chartArrData } = this.props.chartStore;
        if (chartArrData.slice().length > 0) {
            chartArrData.slice().map((item) => {
                if (item.id == this.state.chartId) {
                    this.setState({
                        haveData: false
                    },function() {
                        // 数据处理
                        this.handleData(item.data);
                    })
                }
            })
        }
    }

    async getMediaById(data) {
        const res = await getMediaById(data);
        if (res.data && res.data.code === 0) {
            let str = res.data;
            if (str.data && str.data.data && str.data.data.length > 0) {
                // 存储图例原始数据
                const { saveChartData } = this.props.chartStore;
                let oldData = {
                    id: this.state.chartId,
                    data: str.data.data
                }
                saveChartData(oldData);

                // 数据处理
                this.handleData(str.data.data);
            } else {
                this.drawMap();
            }
        }
    }
    // 数据处理
    handleData = (storeAllData) => {
        let storeData = storeAllData[0];
        const _this = this;

        // 存储可操作组件数据
        if (storeData.affect && storeData.affect.length > 0) {
            let obj = {
                id: this.state.chartId,
                label: storeData.title,
                dimensionData: []
            }
            const { saveAffectData } = this.props.chartStore;

            let dimensionData = [];
            storeData.affect.slice().map((item,index) => {
                dimensionData.push(item);
            })
            obj.dimensionData = dimensionData;
            saveAffectData(obj);

            let newNameData = [];
            let mainName = this.state.mainName;
            storeData.data.map((item,index) => {
                Object.keys(item).forEach(function(key){
                    if (key == mainName) {
                        newNameData.push(item[key]);
                    }
                })
            })
            console.log('VectoeMap----',newNameData);
            this.setState({
                mainData: newNameData
            })
        }
        // 存储联动组件数据
        if (storeData.requires && storeData.requires.length > 0) {
            let obj = {
                id: this.state.chartId,
                label: storeData.title,
                dimensionData: []
            }
            const { saveRequireData } = this.props.chartStore;

            let dimensionData = [];
            storeData.requires.slice().map((item,index) => {
                dimensionData.push(item);
            })
            obj.dimensionData = dimensionData;
            saveRequireData(obj);
        }


        // 组装当前图例的维度和度量
        let xyArr = [];
        let xyAxisName = [];
        Object.keys(storeData.columnMaps).forEach(function (key) {
            xyArr.push(key);
            xyAxisName.push({
                key: key,
                name: storeData.columnMaps[key]
            })
        });

        let oldData = storeData.data;
        let newData = [];
        oldData.slice().map((item,index) => {
            let obj = {data: []};
            xyAxisName.map((v,i) => {
                if (v.key == 'area') {
                    obj[v.key] = item[v.key];
                } else {
                    obj.data.push({
                        key: v.key,
                        name: v.name,
                        value: item[v.key]
                    })
                }
            })
            newData.push(obj);
        })
        
        this.setState({
            title: storeData.title,
            chartData: newData,
            haveData: true,
        },function() {
            _this.drawMap();
        })
    }
    


    // 绘制地图
    drawMap = () => {
        const _this = this;
        console.log('chartData========',_this.state.chartData)

        let dom = document.getElementById('chart_'+this.state.id+'_'+this.state.chartId);
        let svg = d3.select(dom)
            .append('svg')
            .attr('width', '100%')
            .attr('height', '100%')
            .attr('version', '1.1')
            .attr('xmlns', 'http://www.w3.org/svg/2000')
            .attr('viewBox', '0 0 1920 1080')
            .attr('transform', 'scale(2.5)');

        //设置中心点
        // debugger;
        let projection = d3.geoMercator()
        .center([117.056345,39.407702])
        .scale(20000);
        // .translate([width/2,height/2]);
        //设置投影函数
        console.log('projection---',projection);
        let path = d3.geoPath().projection(projection);

        // 记录前一个选中的path
        let prevNum = 0;
        //添加地图
        svg.append('g')
            .classed('path-group', true)
            .attr('style','transform:translate(-174px,-133px);')
            .selectAll('path')
            .data(svgMap)
            .enter()
            .append('path')
            .attr('stroke','#72F1F8')
            .attr('stroke-opacity', 0.8)
            .attr('stroke-width',2)
            .attr('d', function(d, i){
                return d.path;
            })
            .attr('fill', function(d, i){
                return d.fill;
            })
            .attr('fill-opacity', 0.8)
            .attr('name', function(d, i){
                return d.name;
            })
            .attr('style','cursor:pointer;')
            .on('click', function(d, i){ 
                // document.getElementsByTagName('path')[prevNum].setAttribute('fill', '#022D50');
                // prevNum = i;
                // this.setAttribute('fill', '#72F1F8');
            })
            .on('mouseover',function(d,i) {
                if (document.getElementById('vectorMap-line')) {
                    let lineBox = document.getElementById('vectorMap-line')
                    lineBox.parentNode.removeChild(lineBox);
                    document.getElementById('vectorMap-toolTip').style.display = 'none';
                }
                document.getElementsByTagName('path')[prevNum].setAttribute('fill', '#022D50');
                prevNum = i;
                this.setAttribute('fill', '#72F1F8');
                // 添加区域信息弹框
                let lineSvg = svg.append('g').classed('line-group', true).attr('id','vectorMap-line');

                // 显示当前区域数据
                if (_this.state.chartData.length > 0) {
                    _this.state.chartData.map((item,index) => {
                        if (item.area == d.name) {
                            _this.setState({
                                mapData: {
                                    area: d.name,
                                    data: item.data
                                }
                            },function() {
                                _this.showDailog(lineSvg,d);
                            })
                        }
                    })
                }
            })
            .on('mouseout',function() {
                document.getElementsByTagName('path')[prevNum].setAttribute('fill', '#022D50');
                _this.setState({
                    mapData: {
                        area: '',
                        data: []
                    }
                })
                let lineBox = document.getElementById('vectorMap-line')
                lineBox.parentNode.removeChild(lineBox);
                document.getElementById('vectorMap-toolTip').style.display = 'none';
            })

        //添加文本
        svg.append('g')
            .classed('text-group', true)
            .selectAll('text')
            .data(svgMap)
            .enter()
            .append('text')
            .text(function(d, i){
                return d.name;
            })
            .attr('fill', '#97FAFF')
            .attr('x', function(d){
                return d.text.x;
            })
            .attr('y', function(d){
                return d.text.y;
            })
            .attr('style', 'font-size:14px;font-family:PingFangSC-Semibold;pointer-events: none;');

          //添加标注点
        svg.append('g')
            .classed('circle-group',true)
            .selectAll('circle')
            .data(svgMap)
            .enter()
            .append('circle')
            .attr('r', function(d){
                return 4;
            })
            .attr('cx', function(d){
                return d.point.x;
            })
            .attr('cy', function(d){
                return d.point.y;
            })
            .attr('fill', '#72F1F8')
            .attr('style', 'pointer-events: none;');


        // 默认选中“青羊区”
        document.getElementsByTagName('path')[prevNum].setAttribute('fill', '#72F1F8');
        // 添加区域信息弹框
        let lineSvg = svg.append('g').classed('line-group', true).attr('id','vectorMap-line');
        _this.state.chartData.map((item,index) => {
            if (item.area == '青羊区') {
                _this.setState({
                    mapData: {
                        area: item.area,
                        data: item.data
                    }
                },function() {
                    _this.showDailog(lineSvg,svgMap[prevNum]);
                })
            }
        })


        
    }

    // 画线及显示弹框
    showDailog = (lineSvg,d) => {
        if (d.name == '新都区' || d.name == '高新区' || d.name == '天府新区' || d.name == '青白江区' || d.name == '金堂县' || d.name == '龙泉驿区' || d.name == '简阳市') {
            lineSvg.append('line')
                .attr('stroke', '#72F1F8')
                .attr('stroke-width', 2)
                .attr('x1', d.point.x)
                .attr('y1', d.point.y)
                .attr('x2', 1200)
                .attr('y2', 340);
        } else {
            lineSvg.append('line')
                .attr('stroke', '#72F1F8')
                .attr('stroke-width', 2)
                .attr('x1', d.point.x)
                .attr('y1', d.point.y)
                .attr('x2', 1040)
                .attr('y2', 280);
            lineSvg.append('line')
                .attr('stroke', '#72F1F8')
                .attr('stroke-width', 2)
                .attr('x1', 1040)
                .attr('y1', 280)
                .attr('x2', 1070)
                .attr('y2', 280);
        }

        document.getElementById('vectorMap-toolTip').style.display = 'block';
    }

    // 改变全局变量
    onGlobalVariable = (val) => {
        this.props.onGlobalVariable(val);
    }



    render() {
        const _this = this;
        let Layer = this.props.layer;

        let cardData = _this.state.chartData;

        return (
            <div id={this.state.id+'_'+this.state.chartId} style={{zIndex: 9999,width: this.state.width,height: this.state.height,overflow: 'hidden',padding: '5% 3% 7% 3%'}}>
                <Layer width={this.state.width} title={this.state.title} chartId={this.state.chartId} choiceData={this.state.mainData} onGlobalVariable={this.onGlobalVariable}></Layer>
                <div className={styles.mapBox}  id={'chart_'+this.state.id+'_'+this.state.chartId} style={{height: this.state.height * 0.9}}>
                    <div className={styles.mapTooltip} id="vectorMap-toolTip">
                        <p className={styles.title}> { this.state.mapData.area } </p>
                        {this.state.mapData.data.length>0 && this.state.mapData.data.map((v,i) => {
                            return (
                                <p className={styles.info}> { v.name }： <span style={{color: i==0 ? '#D6BB6B' : '#97FAFF'}}> { v.value } </span> </p>
                            )
                        })}
                    </div>
                </div>
            </div>

        )
    }


}
export default VectorMap;

